Browse Source

enhancement(sdk): allow formula callee name case-insensitive

pull/5682/head
Wing-Kam Wong 1 year ago
parent
commit
c1796a78f5
  1. 2
      packages/nocodb-sdk/src/lib/formulaHelpers.ts

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

@ -173,7 +173,7 @@ export function jsepTreeToFormula(node) {
'SWITCH', 'SWITCH',
'URL', 'URL',
]; ];
if (!formulas.includes(node.name)) return '{' + node.name + '}'; if (!formulas.includes(node.name.toUpperCase())) return '{' + node.name + '}';
return node.name; return node.name;
} }

Loading…
Cancel
Save