Fix cowebsite lazy load by API

This commit is contained in:
Alexis Faizeau 2022-02-01 17:24:56 +01:00
parent bc03182129
commit da381e6e16

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