2015-08-11 12:27:07 -04:00
|
|
|
export default Ember.Controller.extend({
|
2015-08-06 12:14:59 -04:00
|
|
|
noOperationIsRunning: Ember.computed.not("model.isOperationRunning"),
|
|
|
|
rollbackEnabled: Ember.computed.and("model.canRollback", "model.restoreEnabled", "noOperationIsRunning"),
|
|
|
|
rollbackDisabled: Ember.computed.not("rollbackEnabled")
|
2014-02-21 19:41:01 -05:00
|
|
|
});
|