1
1
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:
Fabio Di Stasio 2021-01-13 11:57:26 +01:00
parent f150508547
commit c0a32c040e

View File

@ -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
});
}