mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(mod queue): ModQueueButton shows incomplete pending count without postsPerPage
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user