diff --git a/src/main/webapp/src/components/dialogs/SettingsDialog.vue b/src/main/webapp/src/components/dialogs/SettingsDialog.vue index 8f8cb364..cad1b662 100644 --- a/src/main/webapp/src/components/dialogs/SettingsDialog.vue +++ b/src/main/webapp/src/components/dialogs/SettingsDialog.vue @@ -42,9 +42,13 @@ watch( { immediate: true }, ); -watch(isDark, (newValue): void => { - setDarkTheme(newValue); -}); +watch( + isDark, + (newValue): void => { + setDarkTheme(newValue); + }, + { immediate: true }, +); const onClose = (): void => { isSettings.value = false;