From 67e930e1d292647a9e121113d4b6605b39db49a6 Mon Sep 17 00:00:00 2001 From: Silentoplayz <50341825+Silentoplayz@users.noreply.github.com> Date: Sun, 8 Jun 2025 02:17:41 -0400 Subject: [PATCH 1/2] Fix: Ensure Consistent LDAP Settings Save --- src/lib/components/admin/Settings/General.svelte | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/lib/components/admin/Settings/General.svelte b/src/lib/components/admin/Settings/General.svelte index df79249b0..b16ba19a3 100644 --- a/src/lib/components/admin/Settings/General.svelte +++ b/src/lib/components/admin/Settings/General.svelte @@ -79,6 +79,7 @@ const updateHandler = async () => { webhookUrl = await updateWebhookUrl(localStorage.token, webhookUrl); const res = await updateAdminConfig(localStorage.token, adminConfig); + await updateLdapConfig(localStorage.token, ENABLE_LDAP); await updateLdapServerHandler(); if (res) { @@ -401,12 +402,7 @@
{$i18n.t('LDAP')}
- { - updateLdapConfig(localStorage.token, ENABLE_LDAP); - }} - /> +
From a6c7ddcb28c6559b7f4cbacb1d1090e50076e4e3 Mon Sep 17 00:00:00 2001 From: Silentoplayz <50341825+Silentoplayz@users.noreply.github.com> Date: Sun, 8 Jun 2025 04:16:41 -0400 Subject: [PATCH 2/2] fix: Hidden delete button for playground chat messages --- src/lib/components/playground/Chat/Message.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/playground/Chat/Message.svelte b/src/lib/components/playground/Chat/Message.svelte index 995c4ba43..2485957da 100644 --- a/src/lib/components/playground/Chat/Message.svelte +++ b/src/lib/components/playground/Chat/Message.svelte @@ -52,7 +52,7 @@