summaryrefslogtreecommitdiff
path: root/src/layouts
diff options
context:
space:
mode:
authorAnna Tsyganova <ATSyganova@IBS.RU>2022-09-23 16:27:33 +0300
committerAnna Tsyganova <ATSyganova@IBS.RU>2022-09-23 16:27:33 +0300
commit67b301879dffb18aa63a28a89b76e6a943678873 (patch)
tree576899b673b9b02d61890a5f0ea0c24ec40f2877 /src/layouts
parent339d1dd9d879235dffbb61fcf1dc86621495c3c2 (diff)
downloadwebui-vue-67b301879dffb18aa63a28a89b76e6a943678873.tar.xz
SILABMC-263: Dark Theme
Diffstat (limited to 'src/layouts')
-rw-r--r--src/layouts/_sila/AppLayout.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/layouts/_sila/AppLayout.vue b/src/layouts/_sila/AppLayout.vue
index 65e1d5ec..e494dda5 100644
--- a/src/layouts/_sila/AppLayout.vue
+++ b/src/layouts/_sila/AppLayout.vue
@@ -44,7 +44,8 @@ export default {
},
},
mounted() {
- this.$root.$on('refresh-application', () => this.refresh());
+ this.$root.$on('refresh-application', this.refresh);
+ this.$root.$on('change-theme', this.refresh);
},
methods: {
refresh() {