mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
Update mod-queue.tsx
This commit is contained in:
@@ -593,7 +593,7 @@ export const ModQueueButton = ({ boardIdentifier, isMobile }: ModQueueButtonProp
|
|||||||
(state) => {
|
(state) => {
|
||||||
const activeAccountId = state.activeAccountId;
|
const activeAccountId = state.activeAccountId;
|
||||||
const activeAccount = activeAccountId ? state.accounts[activeAccountId] : undefined;
|
const activeAccount = activeAccountId ? state.accounts[activeAccountId] : undefined;
|
||||||
const accountSubplebbits = activeAccount?.communities || {};
|
const accountSubplebbits = activeAccount?.subplebbits || {};
|
||||||
return Object.keys(accountSubplebbits);
|
return Object.keys(accountSubplebbits);
|
||||||
},
|
},
|
||||||
(prev, next) => {
|
(prev, next) => {
|
||||||
@@ -651,7 +651,7 @@ export const ModQueueView = ({ boardIdentifier: propBoardIdentifier }: ModQueueV
|
|||||||
(state) => {
|
(state) => {
|
||||||
const activeAccountId = state.activeAccountId;
|
const activeAccountId = state.activeAccountId;
|
||||||
const activeAccount = activeAccountId ? state.accounts[activeAccountId] : undefined;
|
const activeAccount = activeAccountId ? state.accounts[activeAccountId] : undefined;
|
||||||
const accountSubplebbits = activeAccount?.communities || {};
|
const accountSubplebbits = activeAccount?.subplebbits || {};
|
||||||
return Object.keys(accountSubplebbits);
|
return Object.keys(accountSubplebbits);
|
||||||
},
|
},
|
||||||
(prev, next) => {
|
(prev, next) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user