mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03:00
47bfd046bb
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')
|
|
}); |