Fix calendar did not work with merge changes

ff94af1f7d
This commit is contained in:
nathan
2024-05-21 11:40:14 -06:00
parent e596d60395
commit 700cb987ea
2 changed files with 63 additions and 60 deletions

View File

@@ -921,7 +921,7 @@ export abstract class EgwApp
let fileSelect = <Et2MergeDialog><unknown>loadWebComponent('et2-merge-dialog', {
application: this.appname,
path: dirs.pop() || ""
}, et2.widgetContainer);
}, et2?.widgetContainer ?? null);
if(!et2)
{
document.body.append(fileSelect);