Fixed client crash when effects target calcs
This commit is contained in:
@@ -5,7 +5,7 @@ import logErrors from './logErrors.js';
|
||||
export default function recalculateCalculation(calc, actionContext, context){
|
||||
if (!calc?.parseNode) return;
|
||||
calc._parseLevel = 'reduce';
|
||||
applyEffectsToCalculationParseNode(calc, actionContext.log);
|
||||
applyEffectsToCalculationParseNode(calc, actionContext);
|
||||
evaluateCalculation(calc, actionContext.scope, context);
|
||||
logErrors(calc.errors, actionContext.log);
|
||||
logErrors(calc.errors, actionContext);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user