From c0a2c262850896a7cfab34eecd23ffd499dfbbd3 Mon Sep 17 00:00:00 2001 From: Maks <41080668+Maks19@users.noreply.github.com> Date: Mon, 26 Feb 2024 19:33:36 +0200 Subject: [PATCH] [WebApp] Update star chef filter to avoid an error with old notifications (#1129) --- .../components/NavigationBarWithNovuNotifications.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web-app/src/modules/home-views/components/NavigationBarWithNovuNotifications.tsx b/packages/web-app/src/modules/home-views/components/NavigationBarWithNovuNotifications.tsx index 7ddcd17dc..be03127c2 100644 --- a/packages/web-app/src/modules/home-views/components/NavigationBarWithNovuNotifications.tsx +++ b/packages/web-app/src/modules/home-views/components/NavigationBarWithNovuNotifications.tsx @@ -16,7 +16,7 @@ export const NavigationBarWithNovuNotifications: FunctionComponent !unreadNovuNotification.payload.starChefStatus, + (unreadNovuNotification) => !unreadNovuNotification.payload?.starChefStatus, ) const unseenNovuNotificationsIds = unreadNovuNotificationsWithoutStarChef ?.filter((unreadNovuNotificationWithoutStarChef) => !unreadNovuNotificationWithoutStarChef.seen)