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 { return {
title: f.title, title: f.title,
id: f.fk_column_id, id: f.fk_column_id,
disabled: !isSupportedDisplayValueColumn(column), disabled: !isSupportedDisplayValueColumn(column) && !column.pv,
ncItemTooltip: ncItemTooltip:
!isSupportedDisplayValueColumn(column) && columnTypeName(column) !isSupportedDisplayValueColumn(column) && columnTypeName(column) && !column.pv
? `${columnTypeName(column)} field cannot be a display value field` ? `${columnTypeName(column)} field cannot be a display value field`
: '', : '',
column, column,

Loading…
Cancel
Save