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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue