We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc3295e commit 4b59e1fCopy full SHA for 4b59e1f
app/templates/client/components/navbar/navbar.controller.js
@@ -10,7 +10,7 @@ class NavbarController {
10
isCollapsed = true;
11
//end-non-standard
12
13
- constructor(<% if(!filters.uirouter) { %>$location<% } %><% if (filters.auth) { %>Auth<% } %>) {<% if(!filters.uirouter) { %>
+ constructor(<% if(!filters.uirouter) { %>$location<% } if(!filters.uirouter && filters.auth) { %>, <% } if (filters.auth) { %>Auth<% } %>) {<% if(!filters.uirouter) { %>
14
this.$location = $location;<% } %>
15
<% if (filters.auth) { %>this.isLoggedIn = Auth.isLoggedIn;
16
this.isAdmin = Auth.isAdmin;
0 commit comments