feat: add profile screen
This commit is contained in:
committed by
Aditya Chandel
parent
ad6f848752
commit
afb4c86c83
@@ -118,6 +118,10 @@ export class AppTopBarComponent implements OnDestroy {
|
||||
this.router.navigate(['/settings']);
|
||||
}
|
||||
|
||||
navigateToProfile() {
|
||||
this.router.navigate(['/profile']);
|
||||
}
|
||||
|
||||
logout() {
|
||||
this.authService.logout();
|
||||
window.location.href = '/login';
|
||||
|
||||
Reference in New Issue
Block a user