Browse Source

feat(gui-v2): disable edit & delete column option in locked view

pull/3209/head
Wing-Kam Wong 2 years ago
parent
commit
cd45e526c6
  1. 2
      packages/nc-gui-v2/components/smartsheet/Grid.vue

2
packages/nc-gui-v2/components/smartsheet/Grid.vue

@ -463,7 +463,7 @@ const expandForm = (row: Row, state: Record<string, any>) => {
</tr>
</tbody>
</table>
<template #overlay>
<template v-if="!isLocked" #overlay>
<a-menu class="bg-white shadow" @click="contextMenu = false">
<a-menu-item v-if="contextMenuTarget" @click="deleteRow(contextMenuTarget.row)"
><span class="text-xs">Delete row</span></a-menu-item

Loading…
Cancel
Save