fix: row selection problems after a deletion fail, closes #128

This commit is contained in:
Fabio Di Stasio 2021-10-29 22:43:22 +02:00
parent 3679121c25
commit 89fdd210ca
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ export default {
},
deleteSelected () {
this.closeContext();
const rows = this.localResults.filter(row => this.selectedRows.includes(row._id)).map(row => {
const rows = JSON.parse(JSON.stringify(this.localResults)).filter(row => this.selectedRows.includes(row._id)).map(row => {
delete row._id;
return row;
});