Fix main cowebsite switcher

This commit is contained in:
Alexis Faizeau 2022-02-03 15:20:30 +01:00
parent b91de4a91d
commit 137bd831a9

View File

@ -36,7 +36,7 @@
const coWebsites = $coWebsitesNotAsleep;
const newMain = $highlightedEmbedScreen ?? coWebsites.length > 1 ? coWebsites[1] : undefined;
if (newMain) {
coWebsiteManager.goToMain(coWebsite);
coWebsiteManager.goToMain(newMain);
}
} else {
highlightedEmbedScreen.toggleHighlight({