aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/components/BottomBar.svelte
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2026-01-14 14:19:26 +0800
committerGitHub <noreply@github.com>2026-01-14 14:19:26 +0800
commitb434578791da7e712af4ace497b00cbc4b643893 (patch)
tree4f78d28583470c4c6ce8b635e2ba600f691bcc3f /ui/src/components/BottomBar.svelte
parent45551629e1f84060d56efb3e9b362af10a1caded (diff)
parent21c66d00d8d300b33a353a366fa23d0773deb413 (diff)
downloadDropOut-b434578791da7e712af4ace497b00cbc4b643893.tar.gz
DropOut-b434578791da7e712af4ace497b00cbc4b643893.zip
Merge pull request #21 from HsiangNianian/revert-16-feat/enabled-version
Diffstat (limited to 'ui/src/components/BottomBar.svelte')
-rw-r--r--ui/src/components/BottomBar.svelte7
1 files changed, 2 insertions, 5 deletions
diff --git a/ui/src/components/BottomBar.svelte b/ui/src/components/BottomBar.svelte
index a96b086..dcad9e8 100644
--- a/ui/src/components/BottomBar.svelte
+++ b/ui/src/components/BottomBar.svelte
@@ -65,13 +65,10 @@
>
{#if gameState.versions.length === 0}
<option>Loading...</option>
- {:else if gameState.installedVersionIds.length === 0}
- <option disabled>No installed versions</option>
{:else}
{#each gameState.versions as version}
- {#if gameState.installedVersionIds.includes(version.id)}
- <option value={version.id}>{version.id} ({version.type})</option>
- {/if}
+ <option value={version.id}>{version.id} ({version.type})</option
+ >
{/each}
{/if}
</select>