Skip to content

Commit

Permalink
Fixed alerts filtering issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kristofnemere committed Aug 11, 2023
1 parent 8f5b051 commit 029f2ce
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 @@ -26,7 +26,7 @@ class AlertsHelper {
filteredList.add(element);
} else {
Course course = await locator<CourseApi>().getCourse(courseId, forceRefresh: false);
if (!course.settings.restrictQuantitativeData) {
if (!(course.settings?.restrictQuantitativeData ?? false)) {
filteredList.add(element);
}
}
Expand Down

0 comments on commit 029f2ce

Please sign in to comment.