Merge pull request #1305 from matrix-org/t3chguy/fix_async_modal
fix async modal create fn signaturepull/21833/head
commit
036fa0e944
|
@ -112,8 +112,8 @@ class ModalManager {
|
||||||
return this.createDialogAsync((cb) => {cb(Element);}, props, className);
|
return this.createDialogAsync((cb) => {cb(Element);}, props, className);
|
||||||
}
|
}
|
||||||
|
|
||||||
createTrackedDialogAsync(analyticsId, loader, props, className) {
|
createTrackedDialogAsync(analyticsAction, analyticsInfo, loader, props, className) {
|
||||||
Analytics.trackEvent('Modal', analyticsId);
|
Analytics.trackEvent('Modal', analyticsAction, analyticsInfo);
|
||||||
return this.createDialogAsync(loader, props, className);
|
return this.createDialogAsync(loader, props, className);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue