Began migrating the rest of the codebase to the new computation engine

This commit is contained in:
Stefan Zermatten
2021-09-27 15:39:18 +02:00
parent fdea748441
commit 111040e789
20 changed files with 163 additions and 93 deletions

View File

@@ -22,6 +22,7 @@ function discoverInlineCalculationFields(prop, schemas){
prop._computationDetails.inlineCalculations.push(inlineCalcObj);
// Extract the calculations and store them on the property
let string = inlineCalcObj.text;
if (!string) return;
inlineCalcObj.inlineCalculations = [];
let matches = string.matchAll(INLINE_CALCULATION_REGEX);
for (let match of matches){