|  | @ -31,7 +31,6 @@ export class AppComponent implements OnDestroy, OnInit { | 
			
		
	
		
		
			
				
					|  |  |   public currentYear = new Date().getFullYear(); |  |  |   public currentYear = new Date().getFullYear(); | 
			
		
	
		
		
			
				
					|  |  |   public deviceType: string; |  |  |   public deviceType: string; | 
			
		
	
		
		
			
				
					|  |  |   public info: InfoItem; |  |  |   public info: InfoItem; | 
			
		
	
		
		
			
				
					|  |  |   public isLoggedIn = false; |  |  |  | 
			
		
	
		
		
			
				
					|  |  |   public user: User; |  |  |   public user: User; | 
			
		
	
		
		
			
				
					|  |  |   public version = environment.version; |  |  |   public version = environment.version; | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  | @ -76,9 +75,12 @@ export class AppComponent implements OnDestroy, OnInit { | 
			
		
	
		
		
			
				
					|  |  |             this.user.permissions, |  |  |             this.user.permissions, | 
			
		
	
		
		
			
				
					|  |  |             permissions.createUserAccount |  |  |             permissions.createUserAccount | 
			
		
	
		
		
			
				
					|  |  |           ); |  |  |           ); | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         } else if (!this.tokenStorageService.getToken()) { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |           // User has not been logged in
 | 
			
		
	
		
		
			
				
					|  |  |  |  |  |           this.user = null; | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |         this.cd.markForCheck(); |  |  |         this.cd.markForCheck(); | 
			
		
	
		
		
			
				
					|  |  |         } |  |  |  | 
			
		
	
		
		
			
				
					|  |  |       }); |  |  |       }); | 
			
		
	
		
		
			
				
					|  |  |   } |  |  |   } | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  | 
 |