diff --git a/ui/src/permission.js b/ui/src/permission.js index 17f38c22cfd..080a636acfa 100644 --- a/ui/src/permission.js +++ b/ui/src/permission.js @@ -78,6 +78,7 @@ router.beforeEach((to, from, next) => { } else { next({ path: redirect }) } + store.dispatch('ToggleTheme', 'light') }) }) .catch(() => {