diff --git a/packages/nc-gui/components/cell/Checkbox.vue b/packages/nc-gui/components/cell/Checkbox.vue index 8fb91afebe..6791507382 100644 --- a/packages/nc-gui/components/cell/Checkbox.vue +++ b/packages/nc-gui/components/cell/Checkbox.vue @@ -2,6 +2,7 @@ import { ActiveCellInj, ColumnInj, + EditColumnInj, IsFormInj, ReadonlyInj, getMdiIcon, @@ -33,6 +34,8 @@ const column = inject(ColumnInj) const isForm = inject(IsFormInj) +const isEditColumnMenu = inject(EditColumnInj, ref(false)) + const readOnly = inject(ReadonlyInj) const checkboxMeta = computed(() => { @@ -84,17 +87,22 @@ useSelectedCellKeyupListener(active, (e) => { }" @click="onClick(false, $event)" > -