Skip to content

Commit e78529c

Browse files
fix: dark theme
1 parent b65d461 commit e78529c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/main/webapp/src/components/dialogs/SettingsDialog.vue

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,13 @@ watch(
4242
{ immediate: true },
4343
);
4444
45-
watch(isDark, (newValue): void => {
46-
setDarkTheme(newValue);
47-
});
45+
watch(
46+
isDark,
47+
(newValue): void => {
48+
setDarkTheme(newValue);
49+
},
50+
{ immediate: true },
51+
);
4852
4953
const onClose = (): void => {
5054
isSettings.value = false;

0 commit comments

Comments
 (0)