mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 21:19:41 -06:00
FIX: Deleting backup failed after uploading backup
This commit is contained in:
parent
60eff9421a
commit
ddfd02ad36
@ -3,7 +3,7 @@ import Backup from "admin/models/backup";
|
||||
export default Ember.Route.extend({
|
||||
activate() {
|
||||
this.messageBus.subscribe("/admin/backups", backups =>
|
||||
this.controller.set("model", backups)
|
||||
this.controller.set("model", backups.map(backup => Backup.create(backup)))
|
||||
);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user