fix(install flow): clear stale data before requesting new

This commit is contained in:
DecDuck
2024-12-27 14:04:55 +11:00
parent f4ac1c87cd
commit 327628b780

View File

@@ -297,6 +297,8 @@ const versionOptions = ref<
const installDirs = ref<undefined | Array<string>>();
async function installFlow() {
installFlowOpen.value = true;
versionOptions.value = undefined;
installDirs.value = undefined
try {
versionOptions.value = await invoke("fetch_game_verion_options", {