From 9b55343509b252fc8af355e23bbc73dddcbf097a Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 18 Feb 2026 14:43:07 -0600 Subject: [PATCH] refac --- .../chat/Settings/Connections/Connection.svelte | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/lib/components/chat/Settings/Connections/Connection.svelte b/src/lib/components/chat/Settings/Connections/Connection.svelte index c8a5ec152..4ecd0d4d7 100644 --- a/src/lib/components/chat/Settings/Connections/Connection.svelte +++ b/src/lib/components/chat/Settings/Connections/Connection.svelte @@ -4,6 +4,7 @@ import { settings } from '$lib/stores'; import Tooltip from '$lib/components/common/Tooltip.svelte'; + import Switch from '$lib/components/common/Switch.svelte'; import SensitiveInput from '$lib/components/common/SensitiveInput.svelte'; import Cog6 from '$lib/components/icons/Cog6.svelte'; import AddConnectionModal from '$lib/components/AddConnectionModal.svelte'; @@ -75,7 +76,7 @@ -
+
+ + + { + config.enable = config.enable ?? false; + onSubmit({ url, key, config }); + }} + /> +