Skip to content

Commit

Permalink
[MBL-17540][Parent] Alerts list filtered incorrectly
Browse files Browse the repository at this point in the history
refs: MBL-17540
affects: Parent
release note: none
  • Loading branch information
kristofnemere authored Apr 30, 2024
1 parent 993fe72 commit 3fd7592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/flutter_parent/lib/utils/alert_helper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class AlertsHelper {
filteredList.add(element);
} else {
Course? course = await locator<CourseApi>().getCourse(courseId, forceRefresh: false);
if (course?.settings?.restrictQuantitativeData == false) {
if (!(course?.settings?.restrictQuantitativeData ?? false)) {
filteredList.add(element);
}
}
Expand Down

0 comments on commit 3fd7592

Please sign in to comment.