moderator-toolbox-nxg-for-reddit / modules/queuetools/components/QueueItemTables
modules/queuetools/components/QueueItemTables¶
Functions¶
QueueItemTables()¶
QueueItemTables(
props):Element|null
Defined in: extension/data/modules/queuetools/components/QueueItemTables.tsx:31
Renders the inline action/report toggles and tables for a queue item.
Each half is independently gated: the actions toggle appears only when the relevant per-state
toggle for the item (showRecentActionsOnApproved / showRecentActionsOnRemoved) is enabled and
the item has recent mod-log actions, and the reports toggle only when showReportReasons is
enabled and the item has ignored reports.
Parameters¶
props¶
Component properties.
checkIsMod¶
(subreddit) => Promise<boolean>
context¶
getActions¶
getReports¶
(subreddit, thingId) => Promise<IgnoredReportData | null>
getThingData¶
(thingId) => Promise<Record<string, unknown>>
showRecentActionsOnApproved¶
boolean
showRecentActionsOnRemoved¶
boolean
showReportReasons¶
boolean
Returns¶
Element | null