|
@ -65,6 +65,7 @@ export class HeaderComponent implements OnChanges { |
|
|
@ViewChild('assistant') assistantElement: GfAssistantComponent; |
|
|
@ViewChild('assistant') assistantElement: GfAssistantComponent; |
|
|
@ViewChild('assistantTrigger') assistentMenuTriggerElement: MatMenuTrigger; |
|
|
@ViewChild('assistantTrigger') assistentMenuTriggerElement: MatMenuTrigger; |
|
|
|
|
|
|
|
|
|
|
|
public hasFilters: boolean; |
|
|
public hasPermissionForSocialLogin: boolean; |
|
|
public hasPermissionForSocialLogin: boolean; |
|
|
public hasPermissionForSubscription: boolean; |
|
|
public hasPermissionForSubscription: boolean; |
|
|
public hasPermissionToAccessAdminControl: boolean; |
|
|
public hasPermissionToAccessAdminControl: boolean; |
|
@ -106,6 +107,8 @@ export class HeaderComponent implements OnChanges { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public ngOnChanges() { |
|
|
public ngOnChanges() { |
|
|
|
|
|
this.hasFilters = this.userService.hasFilters(); |
|
|
|
|
|
|
|
|
this.hasPermissionForSocialLogin = hasPermission( |
|
|
this.hasPermissionForSocialLogin = hasPermission( |
|
|
this.info?.globalPermissions, |
|
|
this.info?.globalPermissions, |
|
|
permissions.enableSocialLogin |
|
|
permissions.enableSocialLogin |
|
|