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

fix async modal create fn signature
This commit is contained in:
Luke Barnard 2017-08-15 17:31:45 +01:00 committed by GitHub
commit 036fa0e944

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);
}