[Glitch] Fix selecting domains to forward reports to not passing the information correctly

Port b2ac93dd73 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
local
Claire 9 months ago
parent 941a9df28a
commit 66e82cb8e1
  1. 2
      app/javascript/flavours/glitch/features/ui/components/report_modal.jsx

@ -63,7 +63,7 @@ class ReportModal extends ImmutablePureComponent {
dispatch(submitReport({ dispatch(submitReport({
account_id: accountId, account_id: accountId,
status_ids: selectedStatusIds.toArray(), status_ids: selectedStatusIds.toArray(),
selected_domains: selectedDomains.toArray(), forward_to_domains: selectedDomains.toArray(),
comment, comment,
forward: selectedDomains.size > 0, forward: selectedDomains.size > 0,
category, category,

Loading…
Cancel
Save