From bf174860597d676fd50c951b1b0c22c5ee55dc89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Wed, 25 Feb 2026 16:44:03 +0100 Subject: [PATCH] nicolium: fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- packages/pl-fe/src/columns/notifications.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/pl-fe/src/columns/notifications.tsx b/packages/pl-fe/src/columns/notifications.tsx index 957ad8d85..563d4da65 100644 --- a/packages/pl-fe/src/columns/notifications.tsx +++ b/packages/pl-fe/src/columns/notifications.tsx @@ -293,6 +293,10 @@ const NotificationsColumn: React.FC = ({ multiColumn }) => }; }, []); + useEffect(() => { + setTopNotification(undefined); + }, [activeFilter]); + useEffect(() => { if (topNotification || displayedNotifications.length === 0) return; setTopNotification(displayedNotifications[0].most_recent_notification_id);