Browse Source

feat(gui-v2): disable add column button in a locked view

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

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

@ -331,7 +331,7 @@ const expandForm = (row: Row, state: Record<string, any>) => {
</th>
<!-- v-if="!isLocked && !isVirtual && !isPublicView && _isUIAllowed('add-column')" -->
<th
v-if="!readonly && isUIAllowed('add-column')"
v-if="!readonly && !isLocked && isUIAllowed('add-column')"
v-t="['c:column:add']"
class="cursor-pointer"
@click.stop="addColumnDropdown = true"

Loading…
Cancel
Save