Browse Source

fix: remove unexpected $pt.name$

feat/0523-export-schema
Wing-Kam Wong 3 years ago committed by Raju Udava
parent
commit
24ba5dda01
  1. 3
      packages/nocodb-sdk/src/lib/formulaHelpers.ts

3
packages/nocodb-sdk/src/lib/formulaHelpers.ts

@ -84,9 +84,6 @@ export function substituteColumnIdWithAliasInFormula(
c.title === colNameOrId
);
pt.name = column?.title || ptRaw?.name || pt?.name;
if (pt.name[0] != '$' && pt.name[pt.name.length - 1] != '$') {
pt.name = '$' + pt.name + '$';
}
} else if (pt.type === 'BinaryExpression') {
substituteId(pt.left, ptRaw?.left);
substituteId(pt.right, ptRaw?.right);

Loading…
Cancel
Save