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:
parent
0b139c871f
commit
8db452a18b
1 changed files with 0 additions and 6 deletions
|
@ -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');
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue