From a1a55dd68808e6a9dd7a4e6bbb4e289dfec31970 Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Tue, 10 Dec 2024 07:57:59 +0000 Subject: [PATCH] fix(nc-gui): don't disabled pv column even if it is not supported as pv column --- .../components/smartsheet/header/UpdateDisplayValue.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/header/UpdateDisplayValue.vue b/packages/nc-gui/components/smartsheet/header/UpdateDisplayValue.vue index 9209c29fb6..b9f1890af8 100644 --- a/packages/nc-gui/components/smartsheet/header/UpdateDisplayValue.vue +++ b/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,