Browse Source

fix(nc-gui): selected Time filters

pull/7611/head
DarkPhoenix2704 9 months ago
parent
commit
3240d37e15
  1. 2
      packages/nc-gui/components/smartsheet/calendar/DayView/DateTimeField.vue

2
packages/nc-gui/components/smartsheet/calendar/DayView/DateTimeField.vue

@ -578,7 +578,7 @@ const viewMore = (hour: dayjs.Dayjs) => {
'!border-brand-500': hour.isSame(selectedTime), '!border-brand-500': hour.isSame(selectedTime),
}" }"
class="flex w-full min-h-20 relative border-1 group hover:bg-gray-50 border-white border-b-gray-100" class="flex w-full min-h-20 relative border-1 group hover:bg-gray-50 border-white border-b-gray-100"
@click="selectedTime = hour.toDate()" @click="selectedTime = hour"
> >
<div class="pt-2 px-4 text-xs text-gray-500 font-semibold h-20"> <div class="pt-2 px-4 text-xs text-gray-500 font-semibold h-20">
{{ dayjs(hour).format('H A') }} {{ dayjs(hour).format('H A') }}

Loading…
Cancel
Save