Browse Source

feat(gui): allow user to set display value

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5094/head
Pranav C 2 years ago
parent
commit
860fdbfa0a
  1. 2
      packages/nc-gui/components/smartsheet/header/Menu.vue

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

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

Loading…
Cancel
Save