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:29
Renders the inline action/report toggles and tables for a queue item.
Each half is independently gated: the actions toggle appears only when showActionReason
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>>
showActionReason¶
boolean
showReportReasons¶
boolean
Returns¶
Element | null