Browse Source

feat(gui-v2): provide the sidebar injection state

pull/3174/head
Wing-Kam Wong 2 years ago
parent
commit
36b0b45ab4
  1. 4
      packages/nc-gui-v2/components/tabs/Smartsheet.vue

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

@ -34,7 +34,9 @@ provide(ActiveViewInj, activeView)
provide(IsLockedInj, false)
provide(ReloadViewDataHookInj, reloadEventHook)
provide(FieldsInj, fields)
provide(RightSidebarInj, ref(false))
// provide the sidebar injection state
provideSidebar({ storageKey: 'nc-right-sidebar' })
const { isGallery, isGrid, isForm } = useProvideSmartsheetStore(activeView as Ref<TableType>, meta)

Loading…
Cancel
Save