This is an automated email from the ASF dual-hosted git repository.

nvazquez pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/main by this push:
     new 54a181fe6b ui: Toggle Theme to default(light) on login (#6299)
54a181fe6b is described below

commit 54a181fe6bb9f033fc67b6fb13bbcaff46a8528b
Author: Pearl Dsilva <[email protected]>
AuthorDate: Fri Apr 22 16:34:18 2022 +0530

    ui: Toggle Theme to default(light) on login (#6299)
---
 ui/src/permission.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui/src/permission.js b/ui/src/permission.js
index 17f38c22cf..080a636acf 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(() => {

Reply via email to