Fix filter modal crashing when encountering an undefined option for a select field
This commit is contained in:
parent
673deddc8c
commit
aec1f90412
|
@ -162,7 +162,7 @@
|
||||||
<Select
|
<Select
|
||||||
bind:value={filter.value}
|
bind:value={filter.value}
|
||||||
options={fieldOptions(filter.key)}
|
options={fieldOptions(filter.key)}
|
||||||
getOptionLabel={x => x.toString()}
|
getOptionLabel={x => x?.toString() || ""}
|
||||||
/>
|
/>
|
||||||
{:else if filter.key && isDate(filter.key)}
|
{:else if filter.key && isDate(filter.key)}
|
||||||
<DatePicker
|
<DatePicker
|
||||||
|
|
Loading…
Reference in New Issue