Browse Source

fix(nc-gui): skip time display if calendar is based out of date field

pull/7611/head
DarkPhoenix2704 7 months ago
parent
commit
c420bf25d7
  1. 1
      packages/nc-gui/components/smartsheet/calendar/DayView/DateField.vue

1
packages/nc-gui/components/smartsheet/calendar/DayView/DateField.vue

@ -178,7 +178,6 @@ const dropEvent = (event: DragEvent) => {
<div v-for="(record, rowIndex) in recordsAcrossAllRange" :key="rowIndex" :style="record.rowMeta.style" class="absolute mt-2">
<LazySmartsheetRow :row="record">
<LazySmartsheetCalendarRecordCard
:date="dayjs(record.row[record.rowMeta.range!.fk_from_col.title!]).format('H:mm')"
:name="record.row[displayField!.title!]"
:position="record.rowMeta.position"
:record="record"

Loading…
Cancel
Save