Fix vector-im/riot-web#4799 regression by fixing fn signature
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
472b5b5350
commit
72a412589d
|
@ -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