Fix reporting events not working (#8257)

* Fix report dialog not working

During the removal of skinning the dialog opener was moved, but the wrong property was given.

* Log errors out of the report event dialog

So we can actually see them in rageshakes
This commit is contained in:
Travis Ralston 2022-04-08 08:19:14 -06:00 committed by GitHub
parent 9f8c208516
commit 1db805bbdc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -70,7 +70,7 @@ export class DialogOpener {
break;
case Action.OpenReportEventDialog:
Modal.createTrackedDialog('Report Event', '', ReportEventDialog, {
event: payload.event,
mxEvent: payload.event,
}, 'mx_Dialog_reportEvent');
break;
case Action.OpenTabbedIntegrationManagerDialog: