From 5e3eaab35da76c06307387e074e7a6551cb2b606 Mon Sep 17 00:00:00 2001 From: Pursottam6003 Date: Thu, 21 Mar 2024 01:48:55 +0530 Subject: [PATCH] added the link of notification url in frontend --- src/ui/pages/component/common/Header.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui/pages/component/common/Header.jsx b/src/ui/pages/component/common/Header.jsx index e2553df5e..84798dd02 100644 --- a/src/ui/pages/component/common/Header.jsx +++ b/src/ui/pages/component/common/Header.jsx @@ -1038,12 +1038,13 @@ console.log(unseenNotifications,'uuu'); : 'primary' : "primary"} /> -
+
{`ID: ${notification?.title?.split('-')[0]}`} {`TITLE: ${notification?.notification_type}`} {`${formatDistanceToNow(new Date(notification?.created_at), { addSuffix: true })}`}
+
{notification?.title?.split('-')[1]} {notification?.seen_json==null || !notification?.seen_json[loggedInUserData.id] ? @@ -1053,8 +1054,7 @@ console.log(unseenNotifications,'uuu');
{`Sent on: ${format(new Date(notification?.created_at), 'MMM d, yyyy')}`} {index !== Notification?.length - 1 && } -
- + ))}