|
|
@ -38,6 +38,7 @@ export class HeaderComponent implements OnChanges {
|
|
|
|
public hasPermissionForSubscription: boolean;
|
|
|
|
public hasPermissionForSubscription: boolean;
|
|
|
|
public hasPermissionToAccessAdminControl: boolean;
|
|
|
|
public hasPermissionToAccessAdminControl: boolean;
|
|
|
|
public impersonationId: string;
|
|
|
|
public impersonationId: string;
|
|
|
|
|
|
|
|
public isMenuOpen: boolean;
|
|
|
|
|
|
|
|
|
|
|
|
private unsubscribeSubject = new Subject<void>();
|
|
|
|
private unsubscribeSubject = new Subject<void>();
|
|
|
|
|
|
|
|
|
|
|
@ -84,6 +85,14 @@ export class HeaderComponent implements OnChanges {
|
|
|
|
window.location.reload();
|
|
|
|
window.location.reload();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public onMenuClosed() {
|
|
|
|
|
|
|
|
this.isMenuOpen = false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public onMenuOpened() {
|
|
|
|
|
|
|
|
this.isMenuOpen = true;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public onSignOut() {
|
|
|
|
public onSignOut() {
|
|
|
|
this.signOut.next();
|
|
|
|
this.signOut.next();
|
|
|
|
}
|
|
|
|
}
|
|
|
|