Skip to content

Commit

Permalink
Step 10.16: Added logout event
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and Dotan Simha committed Nov 22, 2016
1 parent bc7be1b commit 7d2c2b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/imports/main-component.ng2.html
Expand Up @@ -7,7 +7,7 @@

{{ userEmail }}
</a>
<a *ngIf="userMenuOpen" class="js-logout btn-secondary">Logout</a>
<a *ngIf="userMenuOpen" class="js-logout btn-secondary" (click)="logout()">Logout</a>
</div>
<div *ngIf="!currentUser" class="btns-group">
<a routerLink="/signin" class="btn-secondary">Sign In</a>
Expand Down

0 comments on commit 7d2c2b7

Please sign in to comment.