diff options
| author | Terry Truong <terry06890@gmail.com> | 2023-01-24 21:07:13 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2023-01-24 21:07:13 +1100 |
| commit | 60db779891bee02dc209bd98d1bc409f043fa6ec (patch) | |
| tree | da3410d0560ad37f35dac4c41a552fbdb70174aa /src/components | |
| parent | 547237277d3c9f2d7932a3d8d5cc284590132d19 (diff) | |
Don't defer relayout upon ctg change
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/SettingsModal.vue | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/components/SettingsModal.vue b/src/components/SettingsModal.vue index e30316d..5c6f8d8 100644 --- a/src/components/SettingsModal.vue +++ b/src/components/SettingsModal.vue @@ -124,12 +124,7 @@ let changedCtg: string | null = null; // Used to defer signalling of a category function onSettingChg(option: string){ store.save(option); - - if (option.startsWith('ctgs.')){ - changedCtg = option; - } else { - emit('change', option); - } + emit('change', option); // Make 'Saved' indicator appear/animate if (!saved.value){ |
