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

This commit is contained in:
DecDuck
2024-12-27 14:04:55 +11:00
parent 139bc0ca36
commit e72662c4a8

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", {