mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 05:40:42 +08:00
6 lines
282 B
JavaScript
6 lines
282 B
JavaScript
Discourse.AdminBackupsController = Ember.ObjectController.extend({
|
|
noOperationIsRunning: Em.computed.not("isOperationRunning"),
|
|
rollbackEnabled: Em.computed.and("canRollback", "restoreEnabled", "noOperationIsRunning"),
|
|
rollbackDisabled: Em.computed.not("rollbackEnabled")
|
|
});
|