2019-10-23 13:06:54 -04:00
|
|
|
import Controller from "@ember/controller";
|
|
|
|
export default 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
|
|
|
});
|