aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/lib/components/SubmitPane.svelte
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-10-28 07:34:16 +0200
committerIlion Beyst <ilion.beyst@gmail.com>2022-10-28 07:34:16 +0200
commit5369212cf456d1f08035edf3eb5bfa1865e831c9 (patch)
tree0438f5f49e2ba3507b6bf8681ae77abe121981b9 /web/pw-server/src/lib/components/SubmitPane.svelte
parentb162d381fac3873acd65d5399f09c59081e74916 (diff)
downloadplanetwars.dev-5369212cf456d1f08035edf3eb5bfa1865e831c9.tar.xz
planetwars.dev-5369212cf456d1f08035edf3eb5bfa1865e831c9.zip
update selects on SubmitPane
Diffstat (limited to 'web/pw-server/src/lib/components/SubmitPane.svelte')
-rw-r--r--web/pw-server/src/lib/components/SubmitPane.svelte8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/pw-server/src/lib/components/SubmitPane.svelte b/web/pw-server/src/lib/components/SubmitPane.svelte
index b0f86c8..581d717 100644
--- a/web/pw-server/src/lib/components/SubmitPane.svelte
+++ b/web/pw-server/src/lib/components/SubmitPane.svelte
@@ -113,8 +113,8 @@
<div class="play-text">Opponent</div>
<div class="opponent-select">
<Select
- optionIdentifier="name"
- labelIdentifier="name"
+ itemId="name"
+ label="name"
items={availableBots}
bind:value={$selectedOpponent}
isClearable={false}
@@ -123,8 +123,8 @@
<span>Map</span>
<div class="map-select">
<Select
- optionIdentifier="name"
- labelIdentifier="name"
+ itemId="name"
+ label="name"
items={maps}
bind:value={$selectedMap}
isClearable={false}