creativetimofficial / material-dashboard-angular2

Material Dashboard Angular
https://demos.creative-tim.com/material-dashboard-angular2/
MIT License
1.01k stars 2.09k forks source link

<a (click)="logout()"></a> function not triggering inside navbar collapse menu in mobile screens #42

Closed nikhilrajnair closed 6 years ago

nikhilrajnair commented 6 years ago

<a (click)="logout()"> function not triggering inside navbar collapse menu in mobile screens

chelaruc commented 6 years ago

@nikhilrajnair that's because we didn't clone the code from navbar and introduce in the sidebar, we have the same code in the sidebar and in the navbar. Check sidebar.component.html for the code in the mobile view. Best, Ciprian