Navigation entre menu et messages
This commit is contained in:
@@ -12,6 +12,6 @@ import {
|
||||
selector: 'login-form',
|
||||
templateUrl: 'login-form.component.html',
|
||||
styleUrls: ['login-form.component.css'],
|
||||
imports: [IonButton, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle],
|
||||
imports: [IonButton, IonCard, IonCardContent, IonCardHeader, IonCardTitle],
|
||||
})
|
||||
export class LoginFormComponent {}
|
||||
@@ -11,6 +11,6 @@ export class MenuNav {
|
||||
private router = inject(Router)
|
||||
|
||||
openNav() {
|
||||
this.router.navigate(['/messages']);
|
||||
this.router.navigate(['/main/messages']);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,6 +11,6 @@ export class MessagesMenu {
|
||||
private router = inject(Router)
|
||||
|
||||
openMenu() {
|
||||
this.router.navigate(['/menu']);
|
||||
this.router.navigate(['/main/menu']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user