Merge pull request #1809 from thecodingmachine/fix-errors
Fix cowebsite lazy load by API
This commit is contained in:
commit
331068c965
@ -1270,7 +1270,7 @@ ${escapedMessage}
|
|||||||
openCoWebsite.closable ?? true
|
openCoWebsite.closable ?? true
|
||||||
);
|
);
|
||||||
|
|
||||||
if (openCoWebsite.lazy !== undefined && !openCoWebsite.lazy) {
|
if (openCoWebsite.lazy === undefined || !openCoWebsite.lazy) {
|
||||||
await coWebsiteManager.loadCoWebsite(coWebsite);
|
await coWebsiteManager.loadCoWebsite(coWebsite);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user