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
commit 331068c965
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);
}