From b8fb318c0670d5834539ecd2221696bfe87f6f32 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 2 May 2022 14:36:18 -0500 Subject: [PATCH] ReportModal: fix report forwarding --- .../components/modals/report-modal/steps/other-actions-step.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/features/ui/components/modals/report-modal/steps/other-actions-step.tsx b/app/soapbox/features/ui/components/modals/report-modal/steps/other-actions-step.tsx index b1439807c..1724c6a97 100644 --- a/app/soapbox/features/ui/components/modals/report-modal/steps/other-actions-step.tsx +++ b/app/soapbox/features/ui/components/modals/report-modal/steps/other-actions-step.tsx @@ -32,7 +32,7 @@ const OtherActionsStep = ({ account }: IOtherActionsStep) => { const statusIds = useAppSelector((state) => OrderedSet(state.timelines.getIn([`account:${account.id}:with_replies`, 'items'])).union(state.reports.getIn(['new', 'status_ids']) as Iterable) as OrderedSet); const isBlocked = useAppSelector((state) => state.reports.getIn(['new', 'block']) as boolean); - const isForward = useAppSelector((state) => state.reports.getIn(['reports', 'forward']) as boolean); + const isForward = useAppSelector((state) => state.reports.getIn(['new', 'forward']) as boolean); const canForward = isRemote(account as any) && features.federating; const isSubmitting = useAppSelector((state) => state.reports.getIn(['new', 'isSubmitting']) as boolean);