[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>
This commit is contained in:
Claire 2023-08-24 14:06:27 +02:00
parent 941a9df28a
commit 66e82cb8e1

View file

@ -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,