mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Merge pull request #4132 from novaugust/fix-tab-pane-connection
Fix GhostTab and GhostTabPane array dependencies
This commit is contained in:
commit
586de0141d
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue