FIX: Deleting backup failed after uploading backup

This commit is contained in:
Gerhard Schlager 2018-08-31 13:50:15 +02:00
parent 60eff9421a
commit ddfd02ad36
1 changed files with 1 additions and 1 deletions

View File

@ -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)))
);
},