diff --git a/packages/nc-gui/components/smartsheet-toolbar/StackedBy.vue b/packages/nc-gui/components/smartsheet-toolbar/StackedBy.vue index c12f8599bc..321f1b8489 100644 --- a/packages/nc-gui/components/smartsheet-toolbar/StackedBy.vue +++ b/packages/nc-gui/components/smartsheet-toolbar/StackedBy.vue @@ -5,6 +5,7 @@ import type { SelectProps } from 'ant-design-vue' import { ActiveViewInj, IsLockedInj, + IsPublicInj, MetaInj, ReloadViewDataHookInj, computed, @@ -19,6 +20,8 @@ const meta = inject(MetaInj, ref()) const activeView = inject(ActiveViewInj, ref()) +const IsPublic = inject(IsPublicInj, ref(false)) + const reloadDataHook = inject(ReloadViewDataHookInj)! const isLocked = inject(IsLockedInj, ref(false)) @@ -70,7 +73,12 @@ const handleChange = () => {