From fbf4f5eb30c352e8ece11f2c988a4769dc926c2b Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 4 Mar 2025 18:19:05 -0800 Subject: [PATCH] refac --- src/lib/components/chat/Settings/About.svelte | 68 +++++++++---------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/src/lib/components/chat/Settings/About.svelte b/src/lib/components/chat/Settings/About.svelte index d9c112c65..56554cd56 100644 --- a/src/lib/components/chat/Settings/About.svelte +++ b/src/lib/components/chat/Settings/About.svelte @@ -106,47 +106,47 @@
+ {#if $config?.license_metadata} +
+ {#if !$WEBUI_NAME.includes('Open WebUI')} + {$WEBUI_NAME} - + {/if} + + {$config?.license_metadata?.type} license purchased by + {$config?.license_metadata?.organization_name} +
+ {:else} +
+ + Discord + + + + X (formerly Twitter) Follow + + + + Github Repo + +
+ {/if} +
Emoji graphics provided by Twemoji, licensed under CC-BY 4.0.
-
- - Discord - - - - X (formerly Twitter) Follow - - - - Github Repo - -
-
- {#if $config?.license_metadata} -
- {#if !$WEBUI_NAME.includes('Open WebUI')} - {$WEBUI_NAME} - - {/if} - - {$config?.license_metadata?.type} license purchased by - {$config?.license_metadata?.organization_name} -
- {/if} -
Copyright (c) {new Date().getFullYear()}