mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 11:34:24 +03:00
Fix GhostTab and GhostTabPane array dependencies
No issue - TabPanes weren't finding their tab due to not listing all their dependencies in Ember.computed
This commit is contained in:
parent
d7ef166995
commit
60aa9af424
@ -6,7 +6,8 @@ var TabPane = Ember.Component.extend({
|
||||
return this.nearestWithProperty('isTabsManager');
|
||||
}),
|
||||
|
||||
tab: Ember.computed('tabsManager.tabs.@each', function () {
|
||||
tab: Ember.computed('tabsManager.tabs.[]', 'tabsManager.tabPanes.[]',
|
||||
function () {
|
||||
var index = this.get('tabsManager.tabPanes').indexOf(this),
|
||||
tabs = this.get('tabsManager.tabs');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user