Merge pull request #1305 from matrix-org/t3chguy/fix_async_modal
fix async modal create fn signature
This commit is contained in:
commit
036fa0e944
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue