fix(mod queue): ModQueueButton shows incomplete pending count without postsPerPage

This commit is contained in:
plebeius
2026-01-11 16:32:28 +01:00
parent 4a9f4685cb
commit 823731cb2d
+1
View File
@@ -396,6 +396,7 @@ export const ModQueueButton = ({ boardIdentifier, isMobile }: ModQueueButtonProp
subplebbitAddresses: shouldFetch ? subplebbitAddresses : [],
modQueue: ['pendingApproval'],
sortType: 'new',
postsPerPage: 200, // Fetch more items to get accurate pending count for the badge
});
if (!shouldFetch || subplebbitAddresses.length === 0) {