mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	ui: fix dashboard on saml user login (#9097)
* ui: fix dashboard on saml user login Fixes #8950 Fixes #9045 Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com> * Update ui/src/permission.js --------- Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
		
							parent
							
								
									10dc5ad774
								
							
						
					
					
						commit
						e2e46e3108
					
				| @ -112,7 +112,11 @@ router.beforeEach((to, from, next) => { | |||||||
|               } else { |               } else { | ||||||
|                 next({ path: redirect }) |                 next({ path: redirect }) | ||||||
|               } |               } | ||||||
|               const project = vueProps.$localStorage.get(CURRENT_PROJECT) |               var project = vueProps.$localStorage.get(CURRENT_PROJECT) | ||||||
|  |               if (project == null) { | ||||||
|  |                 project = {} | ||||||
|  |                 store.commit('SET_PROJECT', project) | ||||||
|  |               } | ||||||
|               store.dispatch('ToggleTheme', project.id === undefined ? 'light' : 'dark') |               store.dispatch('ToggleTheme', project.id === undefined ? 'light' : 'dark') | ||||||
|             }) |             }) | ||||||
|           }) |           }) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user