1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 07:39:43 +02:00

Refresh documents list after document deletion

This commit is contained in:
sauls8t 2018-06-13 12:46:23 +01:00
parent 0b139c871f
commit 8db452a18b

View file

@ -67,12 +67,6 @@ export default Controller.extend(NotifierMixin, {
});
all(promises).then(() => {
let documents = this.get('documents');
documents.forEach(function (document) {
document.set('selected', false);
});
this.set('documents', documents);
this.send('onRefresh');
});
},