mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
a9a69fa441
issue #2270 - from https://github.com/manuelmitasch/ghost-admin-ember-demo - Not working properly: added ic-ajax mock in app.js but promise not resolving => loading route always active
7 lines
206 B
JavaScript
7 lines
206 B
JavaScript
export default Ember.View.extend({
|
|
classNameBindings: ['active'],
|
|
|
|
active: function () {
|
|
return this.get('childViews.firstObject.active');
|
|
}.property('childViews.firstObject.active')
|
|
}); |