expiry display not working
This commit is contained in:
@ -28,7 +28,6 @@
|
||||
</button>
|
||||
<span>Nober Grundbesitz GbR Hausverwaltung</span>
|
||||
<span class="spacer"></span>
|
||||
<span class="gittagversion">Expires in: {{expiresIn}} seconds</span>
|
||||
<span class="gittagversion">GITTAGVERSION</span>
|
||||
<a *ngIf="!authenticated" mat-button routerLink="/login">Login</a>
|
||||
<a *ngIf="authenticated" mat-button routerLink="/logout">Logout</a>
|
||||
|
@ -15,7 +15,6 @@ import { NavigationEnd, Router } from '@angular/router';
|
||||
export class NavigationComponent {
|
||||
|
||||
public authenticated: boolean
|
||||
expiresIn: number
|
||||
|
||||
isHandset$: Observable<boolean> = this.breakpointObserver.observe(Breakpoints.Handset)
|
||||
.pipe(
|
||||
@ -36,7 +35,6 @@ export class NavigationComponent {
|
||||
|
||||
ngOnInit() {
|
||||
this.authenticated = this.tokenService.checkAuthenticated()
|
||||
this.expiresIn = 600
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user