Skip to content

Commit bd1361f

Browse files
authored
fix: Regression including conditional messages in report (M2-8142) (#70)
1 parent 1c5981b commit bd1361f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/models/activity.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,7 @@ export class ActivityEntity {
148148
}
149149

150150
for (const conditional of report.conditionalLogic) {
151-
const isReportVisible = this.testVisibility(conditional, scores)
152-
153-
if (!isReportVisible) {
154-
delete scores[conditional.id]
155-
}
151+
scores[conditional.id] = this.testVisibility(conditional, scores)
156152
}
157153
}
158154
}

0 commit comments

Comments
 (0)