Commit b0d122e
fix(store/filters): remove premature emit from onFilterUpdateChips
onFilterUpdateChips was emitting libresign:filters:update before
filter_status was persisted, causing getAllFiles to run with stale
state. The subsequent call from onFilterUpdateChipsAndSave (which
actually persists the new value) was then skipped because loading=true.
Only onFilterUpdateChipsAndSave should trigger a re-fetch, since it is
the action that actually updates filter_status/filter_modified.
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>1 parent d7dfaef commit b0d122e
2 files changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
202 | | - | |
| 201 | + | |
| 202 | + | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| |||
0 commit comments