Skip to content

Commit

Permalink
frontend: properly refresh version mismatch info when game page is sw…
Browse files Browse the repository at this point in the history
…itched
  • Loading branch information
xTVaser committed Nov 5, 2023
1 parent 795ac3a commit b30dde7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/routes/Game.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,9 @@
installedVersionFolder = await getInstalledVersionFolder(
getInternalName(activeGame),
);
if (
versionMismatchDetected =
installedVersion !== $VersionStore.activeVersionName ||
installedVersionFolder !== $VersionStore.activeVersionType
) {
versionMismatchDetected = true;
}
installedVersionFolder !== $VersionStore.activeVersionType;
}
}
Expand Down

0 comments on commit b30dde7

Please sign in to comment.