doh, computed.or
This commit is contained in:
parent
fc5e157395
commit
b3913b5692
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue