mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 12:24:37 +08:00
9e2c72e277
off.
10 lines
265 B
JavaScript
10 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")
|
|
|
|
});
|