forked from EVOgeek/Vmeda.Online
		
	MOBILE-4201 login: Fix empty sites page when go back with openAddSite
This commit is contained in:
		
							parent
							
								
									ed900d9d1a
								
							
						
					
					
						commit
						ca3d88b66b
					
				| @ -47,14 +47,12 @@ export class CoreLoginSitesPage implements OnInit { | ||||
|     async ngOnInit(): Promise<void> { | ||||
|         if (CoreNavigator.getRouteBooleanParam('openAddSite')) { | ||||
|             this.add(); | ||||
| 
 | ||||
|             return; | ||||
|         } | ||||
| 
 | ||||
|         this.accountsList = await CoreLoginHelper.getAccountsList(); | ||||
|         this.loaded = true; | ||||
| 
 | ||||
|         if (this.accountsList.count == 0) { | ||||
|         if (this.accountsList.count == 0 && !CoreNavigator.getRouteBooleanParam('openAddSite')) { | ||||
|             this.add(); | ||||
|         } | ||||
|     } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user