mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -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")
|
|
|
|
});
|