FEATURE: new 'backup_frequency' site setting

This commit is contained in:
Régis Hanol
2015-08-07 17:34:58 +02:00
parent 9156d6cd9d
commit 15418f3d44
12 changed files with 48 additions and 60 deletions

View File

@ -1,5 +1,5 @@
export default Ember.ObjectController.extend({
noOperationIsRunning: Em.computed.not("isOperationRunning"),
rollbackEnabled: Em.computed.and("canRollback", "restoreEnabled", "noOperationIsRunning"),
noOperationIsRunning: Em.computed.not("model.isOperationRunning"),
rollbackEnabled: Em.computed.and("model.canRollback", "model.restoreEnabled", "noOperationIsRunning"),
rollbackDisabled: Em.computed.not("rollbackEnabled")
});