Browse Source

fix(nc-gui): don't disabled pv column even if it is not supported as pv column

pull/9986/head
Ramesh Mane 2 days ago
parent
commit
a1a55dd688
  1. 4
      packages/nc-gui/components/smartsheet/header/UpdateDisplayValue.vue

4
packages/nc-gui/components/smartsheet/header/UpdateDisplayValue.vue

@ -36,9 +36,9 @@ const filteredColumns = computed(() => {
return {
title: f.title,
id: f.fk_column_id,
disabled: !isSupportedDisplayValueColumn(column),
disabled: !isSupportedDisplayValueColumn(column) && !column.pv,
ncItemTooltip:
!isSupportedDisplayValueColumn(column) && columnTypeName(column)
!isSupportedDisplayValueColumn(column) && columnTypeName(column) && !column.pv
? `${columnTypeName(column)} field cannot be a display value field`
: '',
column,

Loading…
Cancel
Save