mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-11 08:11:15 -05:00
9e2c72e277
off.
9 lines
265 B
JavaScript
9 lines
265 B
JavaScript
Discourse.BackupStatus = Discourse.Model.extend({
|
|
|
|
restoreDisabled: Em.computed.not("restoreEnabled"),
|
|
|
|
restoreEnabled: function() {
|
|
return this.get('allowRestore') && !this.get("isOperationRunning");
|
|
}.property("isOperationRunning", "allowRestore")
|
|
|
|
});
|