mirror of
https://github.com/Fabio286/antares.git
synced 2024-12-25 08:20:39 +01:00
fix: removed internal row _id from exported files
This commit is contained in:
parent
f150508547
commit
c0a32c040e
@ -359,9 +359,14 @@ export default {
|
||||
downloadTable (format, filename) {
|
||||
if (!this.sortedResults) return;
|
||||
|
||||
const rows = this.sortedResults.map(row => {
|
||||
delete row._id;
|
||||
return row;
|
||||
});
|
||||
|
||||
arrayToFile({
|
||||
type: format,
|
||||
content: this.sortedResults,
|
||||
content: rows,
|
||||
filename
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user