FIX: Group mobile nav not updating.
This commit is contained in:
parent
a37a6f57d9
commit
c897e5599a
|
@ -13,6 +13,7 @@ var Tab = Em.Object.extend({
|
||||||
});
|
});
|
||||||
|
|
||||||
export default Ember.Controller.extend({
|
export default Ember.Controller.extend({
|
||||||
|
application: Ember.inject.controller(),
|
||||||
counts: null,
|
counts: null,
|
||||||
showing: 'members',
|
showing: 'members',
|
||||||
tabs: [
|
tabs: [
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{#mobile-nav class='group-nav' desktopClass="pull-left nav nav-stacked" currentPath=currentPath}}
|
{{#mobile-nav class='group-nav' desktopClass="pull-left nav nav-stacked" currentPath=application.currentPath}}
|
||||||
{{#each getTabs as |tab|}}
|
{{#each getTabs as |tab|}}
|
||||||
<li class="{{if tab.active 'active'}}">
|
<li class="{{if tab.active 'active'}}">
|
||||||
{{#link-to tab.location model title=tab.message}}
|
{{#link-to tab.location model title=tab.message}}
|
||||||
|
|
Loading…
Reference in New Issue