Update columns from ColumnEditor

This commit is contained in:
Mel O'Hagan 2024-02-27 11:29:11 +00:00
parent 084ee76b3f
commit d23293cd8b
1 changed files with 2 additions and 1 deletions

View File

@ -106,11 +106,12 @@
/> />
<Label small>Export columns</Label> <Label small>Export columns</Label>
<ColumnEditor <ColumnEditor
bind:value={parameters.columns} value={parameters.columns}
allowCellEditing={false} allowCellEditing={false}
componentInstance={selectedTable} componentInstance={selectedTable}
on:change={e => { on:change={e => {
const columns = e.detail const columns = e.detail
parameters.columns = columns
parameters.customHeaders = columns.reduce((headerMap, column) => { parameters.customHeaders = columns.reduce((headerMap, column) => {
return { return {
[column.name]: column.displayName, [column.name]: column.displayName,