We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfc976b commit 9b1316bCopy full SHA for 9b1316b
1 file changed
adminforth/spa/src/App.vue
@@ -333,7 +333,7 @@ onMounted(async () => {
333
await loadMenu(); // and this
334
// before init flowbite we have to wait router initialized because it affects dom(our v-ifs) and fetch menu
335
await initRouter();
336
-
+ document.documentElement.setAttribute('data-theme', theme.value);
337
menu.refreshMenuBadges = async () => {
338
await coreStore.fetchMenuBadges();
339
}
0 commit comments