Commit 4ceeae9
committed
fix(ui): keep the search filter when closing a palette-opened drawer
Picking a token from the command palette pushed the drawer straight over
the bare chain URL, so router.back() on close dropped the ?search the
palette had set and the list unfiltered. Filter the list underneath first
(replace), then push the drawer, so closing returns to the searched list —
matching how a grid click (which opens over the already-searched list)
already behaves.1 parent 7952d2e commit 4ceeae9
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
146 | 151 | | |
147 | 152 | | |
148 | 153 | | |
| |||
0 commit comments