1
0
Fork 0
mirror of synced 2024-10-01 01:28:51 +13:00

Fix filter modal crashing when encountering an undefined option for a select field

This commit is contained in:
Andrew Kingston 2022-01-25 08:30:19 +00:00
parent 673deddc8c
commit aec1f90412

View file

@ -162,7 +162,7 @@
<Select
bind:value={filter.value}
options={fieldOptions(filter.key)}
getOptionLabel={x => x.toString()}
getOptionLabel={x => x?.toString() || ""}
/>
{:else if filter.key && isDate(filter.key)}
<DatePicker