doh, computed.or

This commit is contained in:
Kane York 2015-09-11 09:36:03 -07:00
parent fc5e157395
commit b3913b5692
1 changed files with 1 additions and 4 deletions

View File

@ -38,10 +38,7 @@ export default Ember.Controller.extend(ModalFunctionality, Ember.Evented, {
return anyChanged; return anyChanged;
}.property('categoriesBuffered.@each.hasBufferedChanges'), }.property('categoriesBuffered.@each.hasBufferedChanges'),
@computed('showApplyAll', 'showFixIndices') saveDisabled: Ember.computed.or('showApplyAll', 'showFixIndices'),
saveDisabled(a, b) {
return a || b;
},
moveDir(cat, dir) { moveDir(cat, dir) {
const cats = this.get('categoriesOrdered'); const cats = this.get('categoriesOrdered');