Browse Source

fix(nc-gui): removed some console warnings

pull/7611/head
DarkPhoenix2704 10 months ago
parent
commit
3783a11534
  1. 5
      packages/nc-gui/components/smartsheet/calendar/index.vue

5
packages/nc-gui/components/smartsheet/calendar/index.vue

@ -219,23 +219,20 @@ const headerText = computed(() => {
</NcButton> </NcButton>
</NcTooltip> </NcTooltip>
</div> </div>
<LazySmartsheetCalendarYearView v-if="activeCalendarView === 'year'" class="flex-grow-1" /> <LazySmartsheetCalendarYearView v-if="activeCalendarView === 'year'" />
<template v-if="!isCalendarDataLoading"> <template v-if="!isCalendarDataLoading">
<LazySmartsheetCalendarMonthView <LazySmartsheetCalendarMonthView
v-if="activeCalendarView === 'month'" v-if="activeCalendarView === 'month'"
class="flex-grow-1"
@expand-record="expandRecord" @expand-record="expandRecord"
@new-record="newRecord" @new-record="newRecord"
/> />
<LazySmartsheetCalendarWeekView <LazySmartsheetCalendarWeekView
v-else-if="activeCalendarView === 'week'" v-else-if="activeCalendarView === 'week'"
class="flex-grow-1"
@expand-record="expandRecord" @expand-record="expandRecord"
@new-record="newRecord" @new-record="newRecord"
/> />
<LazySmartsheetCalendarDayView <LazySmartsheetCalendarDayView
v-else-if="activeCalendarView === 'day'" v-else-if="activeCalendarView === 'day'"
class="flex-grow-1"
@expand-record="expandRecord" @expand-record="expandRecord"
@new-record="newRecord" @new-record="newRecord"
/> />

Loading…
Cancel
Save