summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksim Zakharov <m.zakharov@IBS.RU>2022-10-13 16:41:35 +0300
committerMaksim Zakharov <m.zakharov@IBS.RU>2022-10-13 16:41:35 +0300
commit815d978d3c8d13ba04f3da08af697206a3a1a5ba (patch)
treebaeaa55336c43565218544554282c9114254d54b
parent2671a1deafacecfc4eeacf63bfdc31411b76ded8 (diff)
downloadwebui-vue-815d978d3c8d13ba04f3da08af697206a3a1a5ba.tar.xz
fix theme
-rw-r--r--src/App.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/App.vue b/src/App.vue
index 107e9483..8f7b831a 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -27,7 +27,7 @@ export default {
},
created() {
document.title = this.$route.meta.title || 'Page is missing title';
- const theme = localStorage.getItem('light-theme');
+ const theme = localStorage.getItem('user-theme');
if (theme === null) {
localStorage.setItem('user-theme', 'light-theme');
document.documentElement.className = 'light-theme';