FIX: Restore was not redirecting to logs route.
This commit is contained in:
parent
99943ec769
commit
324b346bb1
|
@ -85,7 +85,7 @@ export default Discourse.Route.extend({
|
|||
if (confirmed) {
|
||||
Discourse.User.currentProp("hideReadOnlyAlert", true);
|
||||
backup.restore().then(function() {
|
||||
self.controllerFor("adminBackupsLogs").clear();
|
||||
self.controllerFor("adminBackupsLogs").get("logs").clear();
|
||||
self.controllerFor("adminBackups").set("model.isOperationRunning", true);
|
||||
self.transitionTo("admin.backups.logs");
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue