mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-05 19:26:39 +00:00
fix(nc-gui): don't disabled pv column even if it is not supported as pv column
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user