From 3fd7592258e52e0fc30c829a38cf633412c7efbf Mon Sep 17 00:00:00 2001 From: Kristof Nemere <109959688+kristofnemere@users.noreply.github.com> Date: Tue, 30 Apr 2024 10:55:37 +0200 Subject: [PATCH] [MBL-17540][Parent] Alerts list filtered incorrectly refs: MBL-17540 affects: Parent release note: none --- apps/flutter_parent/lib/utils/alert_helper.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/flutter_parent/lib/utils/alert_helper.dart b/apps/flutter_parent/lib/utils/alert_helper.dart index c4403e4b95..236a005483 100644 --- a/apps/flutter_parent/lib/utils/alert_helper.dart +++ b/apps/flutter_parent/lib/utils/alert_helper.dart @@ -27,7 +27,7 @@ class AlertsHelper { filteredList.add(element); } else { Course? course = await locator().getCourse(courseId, forceRefresh: false); - if (course?.settings?.restrictQuantitativeData == false) { + if (!(course?.settings?.restrictQuantitativeData ?? false)) { filteredList.add(element); } }