This commit is contained in:
parent
a3e8c3bd50
commit
c3c8a78fd8
|
@ -65,7 +65,7 @@ const entriesTableColumns = computed(() => [
|
||||||
]);
|
]);
|
||||||
|
|
||||||
function downloadCSV(rows) {
|
function downloadCSV(rows) {
|
||||||
const headers = ['id', 'itemFk', 'name', 'stickers', 'packing', 'comment'];
|
const headers = ['id', 'itemFk', 'name', 'stickers', 'packing', 'grouping', 'comment'];
|
||||||
|
|
||||||
const csvRows = rows.map((row) => {
|
const csvRows = rows.map((row) => {
|
||||||
const buy = row;
|
const buy = row;
|
||||||
|
@ -77,6 +77,7 @@ function downloadCSV(rows) {
|
||||||
item.name || '',
|
item.name || '',
|
||||||
buy.stickers,
|
buy.stickers,
|
||||||
buy.packing,
|
buy.packing,
|
||||||
|
buy.grouping,
|
||||||
item.comment || '',
|
item.comment || '',
|
||||||
].join(',');
|
].join(',');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue