Skip to content

Commit

Permalink
fix: Regression including conditional messages in report (M2-8142) (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmerlo authored Nov 1, 2024
1 parent 1c5981b commit bd1361f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/models/activity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,7 @@ export class ActivityEntity {
}

for (const conditional of report.conditionalLogic) {
const isReportVisible = this.testVisibility(conditional, scores)

if (!isReportVisible) {
delete scores[conditional.id]
}
scores[conditional.id] = this.testVisibility(conditional, scores)
}
}
}
Expand Down

0 comments on commit bd1361f

Please sign in to comment.