diff --git a/packages/nc-gui-v2/components/smartsheet-header/Cell.vue b/packages/nc-gui-v2/components/smartsheet-header/Cell.vue index e8fab798cc..592a5a7e43 100644 --- a/packages/nc-gui-v2/components/smartsheet-header/Cell.vue +++ b/packages/nc-gui-v2/components/smartsheet-header/Cell.vue @@ -10,10 +10,13 @@ const props = defineProps<{ column: ColumnType & { meta: any }; required: boolea const hideMenu = toRef(props, 'hideMenu') const meta = inject(MetaInj) + const isForm = inject(IsFormInj, ref(false)) const column = toRef(props, 'column') +const { isUIAllowed } = useUIPermission() + provide(ColumnInj, column) // instantiate column update store @@ -28,7 +31,7 @@ useProvideColumnCreateStore(meta as Ref, column)