mirror of https://github.com/Fabio286/antares.git
fix: row selection problems after a deletion fail, closes #128
This commit is contained in:
parent
3679121c25
commit
89fdd210ca
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue