Merge pull request #1809 from thecodingmachine/fix-errors

Fix cowebsite lazy load by API
This commit is contained in:
Alexis Faizeau
2022-02-01 17:56:48 +01:00
committed by GitHub
+1 -1
View File
@@ -1270,7 +1270,7 @@ ${escapedMessage}
openCoWebsite.closable ?? true
);
if (openCoWebsite.lazy !== undefined && !openCoWebsite.lazy) {
if (openCoWebsite.lazy === undefined || !openCoWebsite.lazy) {
await coWebsiteManager.loadCoWebsite(coWebsite);
}