diff --git a/www/js/survey/enketo/conditionalSurveys.ts b/www/js/survey/enketo/conditionalSurveys.ts index 4d668efe4..c4fdcf08c 100644 --- a/www/js/survey/enketo/conditionalSurveys.ts +++ b/www/js/survey/enketo/conditionalSurveys.ts @@ -32,7 +32,7 @@ export function getSurveyForTimelineEntry( for (let surveyConfig of tripLabelConfig) { if (!surveyConfig.showsIf) return surveyConfig; // survey shows unconditionally const scope = { - tlEntry, + ...tlEntry, ...conditionalSurveyFunctions, }; try {