2014-02-21 19:41:01 -05:00
|
|
|
Discourse.BackupStatus = Discourse.Model.extend({
|
|
|
|
|
|
|
|
restoreDisabled: Em.computed.not("restoreEnabled"),
|
|
|
|
|
|
|
|
restoreEnabled: function() {
|
2014-08-28 17:02:26 -04:00
|
|
|
return this.get('allowRestore') && !this.get("isOperationRunning");
|
|
|
|
}.property("isOperationRunning", "allowRestore")
|
|
|
|
|
2014-02-21 19:41:01 -05:00
|
|
|
});
|