Browse Source

fix(nc-gui): remove unwanted v-if

pull/7611/head
DarkPhoenix2704 9 months ago
parent
commit
c110e1951b
  1. 18
      packages/nc-gui/components/tabs/Smartsheet.vue

18
packages/nc-gui/components/tabs/Smartsheet.vue

@ -1,31 +1,31 @@
<script setup lang="ts"> <script setup lang="ts">
import type { ColumnType, LinkToAnotherRecordType, TableType } from 'nocodb-sdk' import type {ColumnType, LinkToAnotherRecordType, TableType} from 'nocodb-sdk'
import { UITypes, isLinksOrLTAR } from 'nocodb-sdk' import {isLinksOrLTAR, UITypes} from 'nocodb-sdk'
import type {TabItem} from '#imports'
import { import {
ActiveViewInj, ActiveViewInj,
computed,
createEventHook,
FieldsInj, FieldsInj,
IsFormInj, IsFormInj,
IsLockedInj, IsLockedInj,
MetaInj, MetaInj,
OpenNewRecordFormHookInj, OpenNewRecordFormHookInj,
provide,
ReadonlyInj, ReadonlyInj,
ref,
ReloadViewDataHookInj, ReloadViewDataHookInj,
ReloadViewMetaHookInj, ReloadViewMetaHookInj,
TabMetaInj, TabMetaInj,
computed,
createEventHook,
provide,
ref,
toRef, toRef,
useMetas, useMetas,
useProvideCalendarViewStore,
useProvideKanbanViewStore, useProvideKanbanViewStore,
useProvideSmartsheetStore, useProvideSmartsheetStore,
useProvideCalendarViewStore,
useRoles, useRoles,
useSqlEditor, useSqlEditor,
} from '#imports' } from '#imports'
import type { TabItem } from '#imports'
const props = defineProps<{ const props = defineProps<{
activeTab: TabItem activeTab: TabItem
@ -187,8 +187,6 @@ watch([activeViewTitleOrId, activeTableId], () => {
<LazySmartsheetCalendar v-else-if="isCalendar" /> <LazySmartsheetCalendar v-else-if="isCalendar" />
<LazySmartsheetMap v-else-if="isMap" /> <LazySmartsheetMap v-else-if="isMap" />
<LazySmartsheetGallery v-else-if="isGallery" />
</template> </template>
</div> </div>
</div> </div>

Loading…
Cancel
Save