Skip to content

Commit

Permalink
progress app after successful install
Browse files Browse the repository at this point in the history
  • Loading branch information
trippjoe authored Oct 4, 2024
1 parent e46c1ed commit 7f1692f
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions src/components/games/setup/GameSetup.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@
}
}
async function dispatchSetupEvent() {
dispatch("change");
$: if ($progressTracker.overallStatus === "success") {
dispatch("change")
}
</script>

Expand All @@ -129,17 +129,7 @@
<Progress />
<LogViewer />
</div>
{#if $progressTracker.overallStatus === "success"}
<div class="flex flex-col justify-end items-end mt-auto">
<div class="flex flex-row gap-2">
<Button
class="border-solid border-2 border-slate-900 rounded bg-slate-900 hover:bg-slate-800 text-sm text-white font-semibold px-5 py-2"
on:click={async () => await dispatchSetupEvent()}
>{$_("setup_button_continue")}</Button
>
</div>
</div>
{:else if $progressTracker.overallStatus === "failed"}
{#if $progressTracker.overallStatus === "failed"}
<div class="flex flex-col mt-auto">
<div class="flex flex-row gap-2">
<Alert
Expand Down

0 comments on commit 7f1692f

Please sign in to comment.