Browse Source

fix: commenter/viewer roles view of select column

Re #2767

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/2751/head
mertmit 2 years ago
parent
commit
85335ee4f5
  1. 4
      packages/nc-gui/components/project/spreadsheet/components/EditableCell.vue

4
packages/nc-gui/components/project/spreadsheet/components/EditableCell.vue

@ -64,7 +64,7 @@
<date-time-picker-cell v-else-if="isDateTime" v-model="localState" ignore-focus v-on="parentListeners" />
<enum-cell
v-else-if="isEnum && ((!isForm && !active) || isLocked || (isPublic && !isForm))"
v-else-if="isEnum && ((!isForm && !active) || isLocked || (isPublic && !isForm) || !_isUIAllowed('tableRowUpdate'))"
v-model="localState"
:column="column"
v-on="parentListeners"
@ -80,7 +80,7 @@
/>
<set-list-editable-cell
v-else-if="isSet && (active || isForm) && !isLocked && !(isPublic && !isForm)"
v-else-if="isSet && (active || isForm) && !isLocked && !(isPublic && !isForm) && _isUIAllowed('tableRowUpdate')"
v-model="localState"
:column="column"
v-on="parentListeners"

Loading…
Cancel
Save