mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-26 15:32:38 -05:00
5 lines
262 B
JavaScript
5 lines
262 B
JavaScript
export default Ember.ObjectController.extend({
|
|
noOperationIsRunning: Em.computed.not("isOperationRunning"),
|
|
rollbackEnabled: Em.computed.and("canRollback", "restoreEnabled", "noOperationIsRunning"),
|
|
rollbackDisabled: Em.computed.not("rollbackEnabled")
|
|
});
|