From bda9fd9dfe491a2620b3ce490747750a9fc885aa Mon Sep 17 00:00:00 2001 From: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com> Date: Sun, 17 Dec 2023 00:17:38 +0100 Subject: [PATCH] fix(web): settings switch state when disabled, simplify classes (#5762) --- .../admin-page/settings/setting-switch.svelte | 26 +++++++++---------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/web/src/lib/components/admin-page/settings/setting-switch.svelte b/web/src/lib/components/admin-page/settings/setting-switch.svelte index 8cd1f84839..302e1a88c8 100644 --- a/web/src/lib/components/admin-page/settings/setting-switch.svelte +++ b/web/src/lib/components/admin-page/settings/setting-switch.svelte @@ -42,16 +42,15 @@ /> {#if disabled} - + {:else} - + {/if}