From fbed933a0b804d6bfa7ea3c45106a21f24fe2b96 Mon Sep 17 00:00:00 2001 From: Radek Kaluzik Date: Wed, 3 Jul 2024 11:31:44 +0200 Subject: [PATCH] Update URL params for notitication items to point to its configuration when clicked on Manage this event --- src/components/NotificationsDrawer/NotificationItem.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/NotificationsDrawer/NotificationItem.tsx b/src/components/NotificationsDrawer/NotificationItem.tsx index 8fd750e93..86bb7e8d3 100644 --- a/src/components/NotificationsDrawer/NotificationItem.tsx +++ b/src/components/NotificationsDrawer/NotificationItem.tsx @@ -48,7 +48,10 @@ const NotificationItem: React.FC = ({ notification, onNav const notificationDropdownItems = [ {`Mark as ${!notification.read ? 'read' : 'unread'}`}, - onNavigateTo('settings/notifications/configure-events')}> + onNavigateTo(`/settings/notifications/configure-events?bundle=${notification.bundle}&tab=configuration`)} + > Manage this event , ];