mirror of
https://github.com/vector-im/element-web.git
synced 2026-02-26 18:12:02 +01:00
fall back to className if no props?.title - for mx_Dialog_spinner primarily
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
1bba419235
commit
5dde23ae54
@ -105,7 +105,7 @@ class ModalManager {
|
||||
}
|
||||
|
||||
createDialog(Element, props, className) {
|
||||
Analytics.trackEvent('Modal', props.title, 'createDialog');
|
||||
Analytics.trackEvent('Modal', props && props.title ? props.title : className, 'createDialog');
|
||||
return this.createDialogAsync((cb) => {cb(Element);}, props, className);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user