Update columns from ColumnEditor
This commit is contained in:
parent
084ee76b3f
commit
d23293cd8b
|
@ -106,11 +106,12 @@
|
|||
/>
|
||||
<Label small>Export columns</Label>
|
||||
<ColumnEditor
|
||||
bind:value={parameters.columns}
|
||||
value={parameters.columns}
|
||||
allowCellEditing={false}
|
||||
componentInstance={selectedTable}
|
||||
on:change={e => {
|
||||
const columns = e.detail
|
||||
parameters.columns = columns
|
||||
parameters.customHeaders = columns.reduce((headerMap, column) => {
|
||||
return {
|
||||
[column.name]: column.displayName,
|
||||
|
|
Loading…
Reference in New Issue