We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c8cac9 commit 33029c3Copy full SHA for 33029c3
site/src/modules/notifications/NotificationsInbox/NotificationsInbox.tsx
@@ -156,7 +156,7 @@ export const NotificationsInbox: FC<NotificationsInboxProps> = ({
156
error={error}
157
isLoadingMoreNotifications={isLoadingMoreNotifications}
158
hasMoreNotifications={Boolean(
159
- inboxRes && inboxRes.notifications.length === NOTIFICATIONS_LIMIT,
+ inboxRes && inboxRes.notifications.length % NOTIFICATIONS_LIMIT === 0,
160
)}
161
onRetry={refetch}
162
onMarkAllAsRead={markAllAsReadMutation.mutate}
0 commit comments