diff --git a/packages/nc-gui-v2/components/tabs/Smartsheet.vue b/packages/nc-gui-v2/components/tabs/Smartsheet.vue index 012e0a4b38..5618e2b7ac 100644 --- a/packages/nc-gui-v2/components/tabs/Smartsheet.vue +++ b/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, meta)