Fix displayDetails not being properly null checked (#865)
This commit is contained in:
parent
f0fc4bfee6
commit
f18c28e519
@ -94,8 +94,9 @@ class PopupWindow extends EventDispatcher {
|
||||
return false;
|
||||
}
|
||||
|
||||
showContent(_details, displayDetails) {
|
||||
return this._invoke(true, 'setContent', {id: this._id, details: displayDetails});
|
||||
async showContent(_details, displayDetails) {
|
||||
if (displayDetails === null) { return; }
|
||||
await this._invoke(true, 'setContent', {id: this._id, details: displayDetails});
|
||||
}
|
||||
|
||||
setCustomCss(css) {
|
||||
|
Loading…
Reference in New Issue
Block a user