Skip to content

Commit

Permalink
chore: apply missing migration setps
Browse files Browse the repository at this point in the history
  • Loading branch information
robingenz committed Feb 7, 2024
1 parent e43278c commit 75fd947
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<ion-app>
<ion-menu menu-id="unauthenticated" side="start" contentId="main">
<ion-menu menuId="unauthenticated" side="start" contentId="main">
<ion-header>
<ion-toolbar>
<ion-title>DHBW VS</ion-title>
Expand Down Expand Up @@ -47,7 +47,7 @@
</ion-content>
</ion-menu>

<ion-menu menu-id="authenticated" side="start" contentId="main">
<ion-menu menuId="authenticated" side="start" contentId="main">
<ion-header>
<ion-toolbar>
<ion-title>DHBW VS</ion-title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export class DashboardPage implements OnInit {
constructor(private readonly menuController: MenuController) {}

public ngOnInit(): void {
void this.menuController.enable(false, 'unauthenticated');
void this.menuController.enable(true, 'authenticated');
}
}
1 change: 1 addition & 0 deletions src/app/modules/login/pages/login/login.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export class LoginPage implements OnInit {

public ngOnInit(): void {
void this.menuController.enable(true, 'unauthenticated');
void this.menuController.enable(false, 'authenticated');
}

public async login(loginFormGroup: UntypedFormGroup): Promise<boolean> {
Expand Down

0 comments on commit 75fd947

Please sign in to comment.