We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71b97df commit f5deecbCopy full SHA for f5deecb
1 file changed
templates/app/client/components/navbar/navbar.component.js
@@ -6,7 +6,7 @@ export class NavbarComponent {
6
'title': 'Home',
7
<% if (filters.uirouter) { %>'state': 'main'<% } else { %>'link': '/'<% } %>
8
}];
9
-
+
10
isCollapsed = true;
11
//end-non-standard
12
<%_ if(filters.ngroute || filters.auth) { _%>
@@ -17,9 +17,9 @@ export class NavbarComponent {
17
this.$location = $location;
18
<%_ } _%>
19
<%_ if (filters.auth) { _%>
20
- this.isLoggedIn = Auth.isLoggedIn;
21
- this.isAdmin = Auth.isAdmin;
22
- this.getCurrentUser = Auth.getCurrentUser;
+ this.isLoggedIn = Auth.isLoggedInSync;
+ this.isAdmin = Auth.isAdminSync;
+ this.getCurrentUser = Auth.getCurrentUserSync;
23
24
}<% } %>
25
<%_ if(!filters.uirouter) { _%>
0 commit comments