Merge pull request #1889 from thecodingmachine/fix-co

Fix importing coWesbite from API to store
This commit is contained in:
Alexis Faizeau 2022-02-17 09:52:50 +01:00 committed by GitHub
commit 7820c6b964
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1190,6 +1190,8 @@ ${escapedMessage}
openCoWebsite.closable ?? true
);
coWebsiteManager.addCoWebsiteToStore(coWebsite, openCoWebsite.position);
if (openCoWebsite.lazy === undefined || !openCoWebsite.lazy) {
await coWebsiteManager.loadCoWebsite(coWebsite);
}