Browse Source

chore(nocodb): sync backend (pv display)

pull/5397/merge
Wing-Kam Wong 2 years ago
parent
commit
48c7ac633f
  1. 2
      packages/nocodb-nest/src/helpers/getAst.ts

2
packages/nocodb-nest/src/helpers/getAst.ts

@ -117,7 +117,7 @@ const getAst = async ({
const isRequested = const isRequested =
allowedCols && (!includePkByDefault || !col.pk) allowedCols && (!includePkByDefault || !col.pk)
? allowedCols[col.id] && ? allowedCols[col.id] &&
(!isSystemColumn(col) || view.show_system_fields) && (!isSystemColumn(col) || view.show_system_fields || col.pv) &&
(!fields?.length || fields.includes(col.title)) && (!fields?.length || fields.includes(col.title)) &&
value value
: fields?.length : fields?.length

Loading…
Cancel
Save