File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
templates/app/client/components/navbar Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export class NavbarComponent {
6
6
'title' : 'Home' ,
7
7
< % if ( filters . uirouter ) { % > 'state' : 'main' < % } else { % > 'link' : '/' < % } % >
8
8
} ] ;
9
-
9
+
10
10
isCollapsed = true ;
11
11
//end-non-standard
12
12
< % _ if ( filters . ngroute || filters . auth ) { _ % >
@@ -17,9 +17,9 @@ export class NavbarComponent {
17
17
this . $location = $location ;
18
18
< % _ } _ % >
19
19
< % _ if ( filters . auth ) { _ % >
20
- this . isLoggedIn = Auth . isLoggedIn ;
21
- this . isAdmin = Auth . isAdmin ;
22
- this . getCurrentUser = Auth . getCurrentUser ;
20
+ this . isLoggedIn = Auth . isLoggedInSync ;
21
+ this . isAdmin = Auth . isAdminSync ;
22
+ this . getCurrentUser = Auth . getCurrentUserSync ;
23
23
< % _ } _ % >
24
24
} < % } % >
25
25
< % _ if ( ! filters . uirouter ) { _ % >
You can’t perform that action at this time.
0 commit comments