From c1796a78f58db3fa0ff6e626e2517638a22f56d2 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Sat, 20 May 2023 17:11:55 +0800 Subject: [PATCH] enhancement(sdk): allow formula callee name case-insensitive --- packages/nocodb-sdk/src/lib/formulaHelpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb-sdk/src/lib/formulaHelpers.ts b/packages/nocodb-sdk/src/lib/formulaHelpers.ts index 0ddb2f4376..d002977eba 100644 --- a/packages/nocodb-sdk/src/lib/formulaHelpers.ts +++ b/packages/nocodb-sdk/src/lib/formulaHelpers.ts @@ -173,7 +173,7 @@ export function jsepTreeToFormula(node) { 'SWITCH', 'URL', ]; - if (!formulas.includes(node.name)) return '{' + node.name + '}'; + if (!formulas.includes(node.name.toUpperCase())) return '{' + node.name + '}'; return node.name; }