Merge pull request #1305 from matrix-org/t3chguy/fix_async_modal

fix async modal create fn signature
pull/21833/head
Luke Barnard 2017-08-15 17:31:45 +01:00 committed by GitHub
commit 036fa0e944
1 changed files with 2 additions and 2 deletions

View File

@ -112,8 +112,8 @@ class ModalManager {
return this.createDialogAsync((cb) => {cb(Element);}, props, className);
}
createTrackedDialogAsync(analyticsId, loader, props, className) {
Analytics.trackEvent('Modal', analyticsId);
createTrackedDialogAsync(analyticsAction, analyticsInfo, loader, props, className) {
Analytics.trackEvent('Modal', analyticsAction, analyticsInfo);
return this.createDialogAsync(loader, props, className);
}