diff options
| author | Terry Truong <terry06890@gmail.com> | 2023-01-21 15:23:51 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2023-01-21 16:17:31 +1100 |
| commit | c318c4cedf3f50c21c403649945c2abbbc30a89e (patch) | |
| tree | c74f967755c1b653a450973712a99bec65724f6a /src/components/SettingsModal.vue | |
| parent | d581e5b61a771ef8619a5bfbc84a6e337c7ca13f (diff) | |
Do more minor refactoring
Document some variables coupled between client and server.
Add more term consistency ('unit', 'event density').
Make console messages more consistent.
Diffstat (limited to 'src/components/SettingsModal.vue')
| -rw-r--r-- | src/components/SettingsModal.vue | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
