Fix automation section crashing when a table has been deleted and is in use

This commit is contained in:
Andrew Kingston 2022-03-28 16:26:37 +01:00
parent 6bcf738444
commit e109f06fb4
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@
<Select <Select
on:change={e => onChange(e, key)} on:change={e => onChange(e, key)}
value={inputData[key]} value={inputData[key]}
options={Object.keys(table.schema)} options={Object.keys(table?.schema || {})}
/> />
{:else if value.customType === "filters"} {:else if value.customType === "filters"}
<ActionButton on:click={drawer.show}>Define filters</ActionButton> <ActionButton on:click={drawer.show}>Define filters</ActionButton>