expiry display not working

This commit is contained in:
2021-09-06 14:03:08 +02:00
parent 657d85538e
commit bbe698fc12
3 changed files with 1 additions and 24 deletions

View File

@ -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>

View File

@ -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
}
}