Changed aggregation schema of computed fields

This commit is contained in:
ThaumRystra
2023-11-01 11:12:18 +02:00
parent 243684d206
commit 6ce7542c4b
7 changed files with 176 additions and 58 deletions

View File

@@ -39,7 +39,7 @@ export function applyTrigger(trigger, prop, actionContext) {
// Prevent triggers from firing if their condition is false
if (trigger.condition?.parseNode) {
recalculateCalculation(trigger.condition, actionContext);
if (!trigger.condition.value) return;
if (!trigger.condition.value?.value) return;
}
// Prevent triggers from firing themselves in a loop