FIX: Missing model return in admin-backups route (#28035)
Followup dd30463276
We missed the explicit `return` when we changed to
async/await, so the model ends up being null on admin
backups.
This means we also have no tests for the backup UI, that
will be fixed in a subsequent PR.
This commit is contained in:
parent
a4692609e4
commit
129eb4ba59
|
@ -33,7 +33,7 @@ export default class AdminBackupsRoute extends DiscourseRoute {
|
|||
ajax("/admin/backups/status.json")
|
||||
);
|
||||
|
||||
BackupStatus.create({
|
||||
return BackupStatus.create({
|
||||
isOperationRunning: status.is_operation_running,
|
||||
canRollback: status.can_rollback,
|
||||
allowRestore: status.allow_restore,
|
||||
|
|
Loading…
Reference in New Issue