set to first date if null (#2008)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
This commit is contained in:
parent
9ed0922e8c
commit
cf43caf634
1 changed files with 5 additions and 1 deletions
|
@ -62,7 +62,11 @@ function CenterContent(props: Props) {
|
|||
property = board?.fields.cardProperties.find((o) => o.type === 'select')
|
||||
}
|
||||
|
||||
const displayProperty = dateDisplayProperty
|
||||
let displayProperty = dateDisplayProperty
|
||||
if (!displayProperty && activeView.fields.viewType === 'calendar') {
|
||||
displayProperty = board.fields.cardProperties.find((o) => o.type === 'date')
|
||||
}
|
||||
|
||||
return (
|
||||
<CenterPanel
|
||||
clientConfig={clientConfig}
|
||||
|
|
Loading…
Reference in a new issue