diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 18cb82e..e12be28 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -63,8 +63,8 @@ export class AppComponent { } logout() { + this.navService.closeNav(); this.authService.logout().subscribe().add(() => this.router.navigate(['login'])); - this.sideNav.close(); } ngAfterViewInit() { diff --git a/src/app/components/sidenav-profile/sidenav-profile.component.html b/src/app/components/sidenav-profile/sidenav-profile.component.html index 275b3cd..0164f65 100644 --- a/src/app/components/sidenav-profile/sidenav-profile.component.html +++ b/src/app/components/sidenav-profile/sidenav-profile.component.html @@ -1,4 +1,4 @@ -
{{name}}
{{email}}
diff --git a/src/app/components/sidenav-profile/sidenav-profile.component.scss b/src/app/components/sidenav-profile/sidenav-profile.component.scss index 59bf5b8..d210ece 100644 --- a/src/app/components/sidenav-profile/sidenav-profile.component.scss +++ b/src/app/components/sidenav-profile/sidenav-profile.component.scss @@ -5,4 +5,8 @@ height:100px; border-radius:50%; margin-top:10px; +} + +.sidenav-profile { + outline: none; } \ No newline at end of file diff --git a/src/app/pages/login/login.component.html b/src/app/pages/login/login.component.html index 29f2c04..8487c7b 100644 --- a/src/app/pages/login/login.component.html +++ b/src/app/pages/login/login.component.html @@ -1,41 +1,46 @@ -