Browse Source

feat(nc-gui): include SmartsheetKanban in Smartsheet

pull/3818/head
Wing-Kam Wong 2 years ago
parent
commit
a574b4f1c5
  1. 4
      packages/nc-gui/components/tabs/Smartsheet.vue

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

@ -38,7 +38,7 @@ const meta = computed<TableType>(() => metas.value?.[tabMeta?.value?.id as strin
const reloadEventHook = createEventHook<void>()
const openNewRecordFormHook = createEventHook<void>()
const { isGallery, isGrid, isForm, isLocked } = useProvideSmartsheetStore(activeView as Ref<TableType>, meta)
const { isGallery, isGrid, isForm, isKanban, isLocked } = useProvideSmartsheetStore(activeView as Ref<TableType>, meta)
// provide the sidebar injection state
provideSidebar({ storageKey: 'nc-right-sidebar' })
@ -70,6 +70,8 @@ watch(isLocked, (nextValue) => (treeViewIsLockedInj.value = nextValue), { immedi
<SmartsheetGallery v-else-if="isGallery" />
<SmartsheetForm v-else-if="isForm" />
<SmartsheetKanban v-else-if="isKanban" />
</div>
</div>
</template>

Loading…
Cancel
Save