Browse Source

fix: hide set as primary value option from primary value column

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/5060/head
mertmit 2 years ago
parent
commit
275ba16c45
  1. 2
      packages/nc-gui/components/smartsheet/header/Menu.vue

2
packages/nc-gui/components/smartsheet/header/Menu.vue

@ -279,7 +279,7 @@ const hideField = async () => {
</a-menu-item>
<a-divider class="!my-0" />
<a-menu-item v-if="!virtual" @click="setAsPrimaryValue">
<a-menu-item v-if="!virtual && !column?.pv" @click="setAsPrimaryValue">
<div class="nc-column-set-primary nc-header-menu-item">
<MdiStar class="text-primary" />

Loading…
Cancel
Save