aboutsummaryrefslogtreecommitdiff
path: root/src/components/SettingsModal.vue
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2023-01-24 21:07:13 +1100
committerTerry Truong <terry06890@gmail.com>2023-01-24 21:07:13 +1100
commit60db779891bee02dc209bd98d1bc409f043fa6ec (patch)
treeda3410d0560ad37f35dac4c41a552fbdb70174aa /src/components/SettingsModal.vue
parent547237277d3c9f2d7932a3d8d5cc284590132d19 (diff)
Don't defer relayout upon ctg change
Diffstat (limited to 'src/components/SettingsModal.vue')
-rw-r--r--src/components/SettingsModal.vue7
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){