mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 02:30:57 +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")
|
|
|
|
});
|