Browse Source

fix: disable clear in locked view

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
pull/1788/head
Wing-Kam Wong 3 years ago
parent
commit
67f1b23d93
  1. 2
      packages/nc-gui/components/project/spreadsheet/rowsXcDataTable.vue

2
packages/nc-gui/components/project/spreadsheet/rowsXcDataTable.vue

@ -591,7 +591,7 @@
</span>
</v-list-item>
</template>
<template v-if="rowContextMenu.col && !rowContextMenu.col.rqd && !rowContextMenu.col.virtual">
<template v-if="isEditable && !isLocked && rowContextMenu.col && !rowContextMenu.col.rqd && !rowContextMenu.col.virtual">
<v-tooltip bottom>
<template #activator="{on}">
<v-list-item v-t="['record:right-click:clear']" v-on="on" @click="clearCellValue">

Loading…
Cancel
Save