From dc4db405d2991d3ec6a114f3b08d3fccd057d3ee Mon Sep 17 00:00:00 2001
From: Wolfgang Müller
Date: Thu, 13 Feb 2025 17:52:16 +0100
Subject: frontend: Migrate to Svelte 5

---
 frontend/src/lib/dialogs/components/UpdateModeSelector.svelte | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'frontend/src/lib/dialogs/components/UpdateModeSelector.svelte')

diff --git a/frontend/src/lib/dialogs/components/UpdateModeSelector.svelte b/frontend/src/lib/dialogs/components/UpdateModeSelector.svelte
index e4b4479..6548fb5 100644
--- a/frontend/src/lib/dialogs/components/UpdateModeSelector.svelte
+++ b/frontend/src/lib/dialogs/components/UpdateModeSelector.svelte
@@ -2,7 +2,7 @@
 	import { UpdateMode } from '$gql/graphql';
 	import { UpdateModeLabel } from '$lib/Enums';
 
-	export let mode: UpdateMode;
+	let { mode = $bindable() }: { mode: UpdateMode } = $props();
 
 	function select(e: string) {
 		mode = e as UpdateMode;
@@ -16,7 +16,7 @@
 			class:active={mode === e}
 			class:dangerous={mode !== UpdateMode.Add}
 			class="btn btn-xs hover:bg-slate-700 [&.active.dangerous]:bg-rose-800 [&.active]:bg-indigo-700"
-			on:click={() => select(e)}
+			onclick={() => select(e)}
 		>
 			{label}
 		</button>
-- 
cgit v1.2.3-2-gb3c3

