@ -133,7 +133,7 @@ export class GfAdminUsersComponent implements OnDestroy, OnInit { 
			
		
	
		
		
			
				
					      ] ;       ] ;  
			
		
	
		
		
			
				
					    }     }  
			
		
	
		
		
			
				
					
 
			
		
	
		
		
			
				
					
					    this . route . p arams    this . route . queryP arams 
			
				
				
			
		
	
		
		
	
		
		
			
				
					      . pipe ( takeUntil ( this . unsubscribeSubject ) )       . pipe ( takeUntil ( this . unsubscribeSubject ) )  
			
		
	
		
		
			
				
					      . subscribe ( ( params )  = >  {       . subscribe ( ( params )  = >  {  
			
		
	
		
		
			
				
					        if  ( params [ 'userId' ] )  {         if  ( params [ 'userId' ] )  {  
			
		
	
	
		
		
			
				
					
						
							
								 
						
						
							
								 
						
						
					 
					@ -245,7 +245,10 @@ export class GfAdminUsersComponent implements OnDestroy, OnInit { 
			
		
	
		
		
			
				
					  }   }  
			
		
	
		
		
			
				
					
 
			
		
	
		
		
			
				
					  public  onOpenUserDetailDialog ( userId : string )  {   public  onOpenUserDetailDialog ( userId : string )  {  
			
		
	
		
		
			
				
					
					    this . router . navigate ( [ './' ,  userId ] ,  {  relativeTo : this.route  } ) ;     this . router . navigate ( [ ] ,  {  
			
				
				
			
		
	
		
		
	
		
		
			
				
					      relativeTo : this.route ,  
			
		
	
		
		
			
				
					      queryParams :  {  userId  }  
			
		
	
		
		
			
				
					    } ) ;  
			
		
	
		
		
			
				
					  }   }  
			
		
	
		
		
			
				
					
 
			
		
	
		
		
			
				
					  public  ngOnDestroy() {   public  ngOnDestroy() {  
			
		
	
	
		
		
			
				
					
						
							
								 
						
						
							
								 
						
						
					 
					@ -276,27 +279,26 @@ export class GfAdminUsersComponent implements OnDestroy, OnInit { 
			
		
	
		
		
			
				
					      } ) ;       } ) ;  
			
		
	
		
		
			
				
					  }   }  
			
		
	
		
		
			
				
					
 
			
		
	
		
		
			
				
					
					  private  openUserDetailDialog ( aU serIdstring )  {   private  openUserDetailDialog ( u serIdstring )  {  
			
				
				
			
		
	
		
		
	
		
		
			
				
					    const  userData  =  this . dataSource . data . find ( ( {  id  } )  = >  {     const  userData  =  this . dataSource . data . find ( ( {  id  } )  = >  {  
			
		
	
		
		
			
				
					
					      return  id  ===  aU serId;       return  id  ===  u serId;  
			
				
				
			
		
	
		
		
	
		
		
			
				
					    } ) ;     } ) ;  
			
		
	
		
		
			
				
					
 
			
		
	
		
		
			
				
					    if  ( ! userData )  {     if  ( ! userData )  {  
			
		
	
		
		
			
				
					
					      this . router . navigate ( [ '../' ] ,  {  relativeTo : this.route  } ) ;       this . router . navigate ( [ ] ,  {  
			
				
				
			
		
	
		
		
	
		
		
			
				
					        relativeTo : this.route ,  
			
		
	
		
		
			
				
					        queryParams :  { }  
			
		
	
		
		
			
				
					      } ) ;  
			
		
	
		
		
			
				
					      return ;       return ;  
			
		
	
		
		
			
				
					    }     }  
			
		
	
		
		
			
				
					
 
			
		
	
		
		
			
				
					
					    const  dialogRef  =  this . dialog . open <     const  dialogRef  =  this . dialog . open ( GfUserDetailDialogComponent ,  {  
			
				
				
			
		
	
		
		
			
				
					      GfUserDetailDialogComponent ,  
			
		
	
		
		
			
				
					      UserDetailDialogParams  
			
		
	
		
		
			
				
					    > ( GfUserDetailDialogComponent ,  {  
			
		
	
		
		
	
		
		
			
				
					      autoFocus : false ,       autoFocus : false ,  
			
		
	
		
		
			
				
					      data :  {       data :  {  
			
		
	
		
		
			
				
					        userData ,         userData ,  
			
		
	
		
		
			
				
					        deviceType : this.deviceType ,         deviceType : this.deviceType ,  
			
		
	
		
		
			
				
					        hasPermissionForSubscription : this.hasPermissionForSubscription ,  
			
		
	
		
		
			
				
					        locale : this.user?.settings?.locale         locale : this.user?.settings?.locale  
			
		
	
		
		
			
				
					
					      } ,       }  as  UserDetailDialogParams  ,  
			
				
				
			
		
	
		
		
	
		
		
			
				
					      height : this.deviceType  ===  'mobile'  ?  '98vh'  :  '60vh' ,       height : this.deviceType  ===  'mobile'  ?  '98vh'  :  '60vh' ,  
			
		
	
		
		
			
				
					      width : this.deviceType  ===  'mobile'  ?  '100vw'  :  '50rem'       width : this.deviceType  ===  'mobile'  ?  '100vw'  :  '50rem'  
			
		
	
		
		
			
				
					    } ) ;     } ) ;  
			
		
	
	
		
		
			
				
					
						
						
						
							
								 
						
					 
					@ -306,7 +308,10 @@ export class GfAdminUsersComponent implements OnDestroy, OnInit { 
			
		
	
		
		
			
				
					      . pipe ( takeUntil ( this . unsubscribeSubject ) )       . pipe ( takeUntil ( this . unsubscribeSubject ) )  
			
		
	
		
		
			
				
					      . subscribe ( ( )  = >  {       . subscribe ( ( )  = >  {  
			
		
	
		
		
			
				
					        this . fetchUsers ( ) ;         this . fetchUsers ( ) ;  
			
		
	
		
		
			
				
					
					        this . router . navigate ( [ '../' ] ,  {  relativeTo : this.route  } ) ;         this . router . navigate ( [ ] ,  {  
			
				
				
			
		
	
		
		
	
		
		
			
				
					          relativeTo : this.route ,  
			
		
	
		
		
			
				
					          queryParams :  { }  
			
		
	
		
		
			
				
					        } ) ;  
			
		
	
		
		
			
				
					      } ) ;       } ) ;  
			
		
	
		
		
			
				
					  }   }  
			
		
	
		
		
			
				
					} }