Browse Source

fix: wrap default binary operation type assign with else

pull/7268/head
Pranav C 11 months ago
parent
commit
581ff19668
  1. 3
      packages/nocodb-sdk/src/lib/formulaHelpers.ts

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

@ -1565,9 +1565,10 @@ export function validateFormulaAndExtractTreeWithType({
) {
res.dataType = FormulaDataTypes.STRING;
}
}
} else {
res.dataType = FormulaDataTypes.NUMERIC;
}
}
return res;
};

Loading…
Cancel
Save