diff --git a/src/pages/notifications.jsx b/src/pages/notifications.jsx index a629024a..09cb4688 100644 --- a/src/pages/notifications.jsx +++ b/src/pages/notifications.jsx @@ -532,66 +532,72 @@ function Notifications({ columnMode }) { )} {supportsFilteredNotifications && notificationsPolicy?.summary?.pendingRequestsCount > 0 && ( -
-
{ - const { open } = e.target; - if (open) { - const requests = await fetchNotificationsRequest(); - setNotificationsRequests(requests); - console.log({ open, requests }); - } - }} - > - - Filtered notifications from{' '} - {notificationsPolicy.summary.pendingRequestsCount} people - - {!notificationsRequests ? ( -

- -

- ) : ( - notificationsRequests?.length > 0 && ( - - ) - )} -
+ { + loadNotifications(true); + }} + /> + + ))} + + ) + )} + +
+ )}