Skip to content

Commit

Permalink
fix: row selection problems after a deletion fail, closes #128
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed Oct 29, 2021
1 parent 3679121 commit 89fdd21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabQueryTable.vue
Expand Up @@ -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;
});
Expand Down

0 comments on commit 89fdd21

Please sign in to comment.