From c318c4cedf3f50c21c403649945c2abbbc30a89e Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Sat, 21 Jan 2023 15:23:51 +1100 Subject: Do more minor refactoring Document some variables coupled between client and server. Add more term consistency ('unit', 'event density'). Make console messages more consistent. --- src/components/SettingsModal.vue | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/components/SettingsModal.vue') diff --git a/src/components/SettingsModal.vue b/src/components/SettingsModal.vue index bb1370e..2c4a0df 100644 --- a/src/components/SettingsModal.vue +++ b/src/components/SettingsModal.vue @@ -124,11 +124,13 @@ 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); } + // Make 'Saved' indicator appear/animate if (!saved.value){ saved.value = true; -- cgit v1.2.3