mirror of
https://github.com/Fabio286/antares.git
synced 2025-03-13 18:00:10 +01:00
fix: rows loses internal id after export
This commit is contained in:
parent
f74bca7bb4
commit
2d278aa14e
@ -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;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user