From e77b25ae7006c9a04e7edddc7402a4f4b23b9277 Mon Sep 17 00:00:00 2001 From: BrunoQuaresma Date: Tue, 25 Mar 2025 16:31:45 +0000 Subject: [PATCH] fix: fix load more notifications only working once --- .../notifications/NotificationsInbox/NotificationsInbox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/modules/notifications/NotificationsInbox/NotificationsInbox.tsx b/site/src/modules/notifications/NotificationsInbox/NotificationsInbox.tsx index 78d119a7e371f..656d87fbe31d3 100644 --- a/site/src/modules/notifications/NotificationsInbox/NotificationsInbox.tsx +++ b/site/src/modules/notifications/NotificationsInbox/NotificationsInbox.tsx @@ -156,7 +156,7 @@ export const NotificationsInbox: FC = ({ error={error} isLoadingMoreNotifications={isLoadingMoreNotifications} hasMoreNotifications={Boolean( - inboxRes && inboxRes.notifications.length === NOTIFICATIONS_LIMIT, + inboxRes && inboxRes.notifications.length % NOTIFICATIONS_LIMIT === 0, )} onRetry={refetch} onMarkAllAsRead={markAllAsReadMutation.mutate} pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy