Null safety (#9746)

This commit is contained in:
melohagan 2023-02-20 11:03:37 +00:00 committed by GitHub
parent 580822f4a8
commit 53f6b2b6e6
1 changed files with 2 additions and 2 deletions

View File

@ -254,8 +254,8 @@
{:else if filter.type === "datetime"} {:else if filter.type === "datetime"}
<DatePicker <DatePicker
disabled={filter.noValue} disabled={filter.noValue}
enableTime={!getSchema(filter).dateOnly} enableTime={!getSchema(filter)?.dateOnly}
timeOnly={getSchema(filter).timeOnly} timeOnly={getSchema(filter)?.timeOnly}
bind:value={filter.value} bind:value={filter.value}
/> />
{:else} {:else}