fix: rows loses internal id after export

This commit is contained in:
Fabio Di Stasio 2021-06-29 23:23:11 +02:00
parent f74bca7bb4
commit 2d278aa14e
1 changed files with 1 additions and 1 deletions

View File

@ -465,7 +465,7 @@ export default {
downloadTable (format, filename) {
if (!this.sortedResults) return;
const rows = [...this.sortedResults].map(row => {
const rows = JSON.parse(JSON.stringify(this.sortedResults)).map(row => {
delete row._id;
return row;
});