diff --git a/packages/nc-gui/components/cell/MultiSelect.vue b/packages/nc-gui/components/cell/MultiSelect.vue index 044f406aad..ab227f90f0 100644 --- a/packages/nc-gui/components/cell/MultiSelect.vue +++ b/packages/nc-gui/components/cell/MultiSelect.vue @@ -47,8 +47,6 @@ const readOnly = inject(ReadonlyInj)! const active = inject(ActiveCellInj, ref(false)) -const editable = inject(EditModeInj, ref(false)) - const isPublic = inject(IsPublicInj, ref(false)) const isForm = inject(IsFormInj, ref(false)) @@ -96,7 +94,7 @@ const isOptionMissing = computed(() => { const hasEditRoles = computed(() => hasRole('owner', true) || hasRole('creator', true) || hasRole('editor', true)) -const editAllowed = computed(() => (hasEditRoles.value || isForm.value) && (active.value || editable.value)) +const editAllowed = computed(() => (hasEditRoles.value || isForm.value) && active.value) const vModel = computed({ get: () => { @@ -331,7 +329,7 @@ const selectedOpts = computed(() => { diff --git a/packages/nc-gui/components/smartsheet/Grid.vue b/packages/nc-gui/components/smartsheet/Grid.vue index 4b001cb8a7..d20d4e02a8 100644 --- a/packages/nc-gui/components/smartsheet/Grid.vue +++ b/packages/nc-gui/components/smartsheet/Grid.vue @@ -1,7 +1,7 @@