mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
hide header bar for login page
This commit is contained in:
@@ -54,6 +54,10 @@ export class AppComponent {
|
||||
return this.auth.isLoggedIn();
|
||||
}
|
||||
|
||||
isLoginPage(): boolean {
|
||||
return location.pathname === '/login' || location.pathname === '/';
|
||||
}
|
||||
|
||||
onLogout(event) {
|
||||
event.preventDefault();
|
||||
this.auth.logout()
|
||||
|
Reference in New Issue
Block a user