diff options
Diffstat (limited to 'web/pw-server/src/routes/matches/new.svelte')
-rw-r--r-- | web/pw-server/src/routes/matches/new.svelte | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/pw-server/src/routes/matches/new.svelte b/web/pw-server/src/routes/matches/new.svelte index 10ce093..eed3dbb 100644 --- a/web/pw-server/src/routes/matches/new.svelte +++ b/web/pw-server/src/routes/matches/new.svelte @@ -28,6 +28,7 @@ <script lang="ts"> import Select from "svelte-select"; +import { goto } from "$app/navigation"; export let bots: object[]; let items: object[]; let players: object[] = []; @@ -64,6 +65,7 @@ if (res.ok) { // TODO + goto("/matches") } else { alert(res.statusText); } |