feat: Convert login button to hompage button when user is authenticated
This commit is contained in:
parent
9289a72acf
commit
3a2b92b3ff
2 changed files with 15 additions and 3 deletions
|
@ -1 +1,5 @@
|
|||
<button (click)="login()">Einloggen</button>
|
||||
@if (isLoggedIn) {
|
||||
<button routerLink="/home">Zur Homepage</button>
|
||||
} @else {
|
||||
<button (click)="login()">Einloggen</button>
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue