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 fee24a83ad
commit 23b698b396
1 changed files with 1 additions and 1 deletions

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