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"),
|
2018-06-15 11:03:24 -04:00
|
|
|
rollbackEnabled: Ember.computed.and(
|
|
|
|
"model.canRollback",
|
|
|
|
"model.restoreEnabled",
|
|
|
|
"noOperationIsRunning"
|
|
|
|
),
|
2015-08-06 12:14:59 -04:00
|
|
|
rollbackDisabled: Ember.computed.not("rollbackEnabled")
|
2014-02-21 19:41:01 -05:00
|
|
|
});
|