Browse Source

fix(gui-v2): add isUIAllowed('edit-column') in virtual cell

pull/3087/head
Wing-Kam Wong 2 years ago
parent
commit
f67aa461f1
  1. 2
      packages/nc-gui-v2/components/smartsheet-header/VirtualCell.vue

2
packages/nc-gui-v2/components/smartsheet-header/VirtualCell.vue

@ -101,7 +101,7 @@ useProvideColumnCreateStore(meta as Ref<TableType>, column)
<template v-if="!hideMenu"> <template v-if="!hideMenu">
<v-spacer /> <v-spacer />
<SmartsheetHeaderMenu v-if="!isForm" :virtual="true" /> <SmartsheetHeaderMenu v-if="!isForm && isUIAllowed('edit-column')" :virtual="true" />
</template> </template>
</div> </div>
</template> </template>

Loading…
Cancel
Save