From f9b44c6bf2834fa36c5b54cd6706ab699553a384 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 5 Mar 2025 18:39:32 -0800 Subject: [PATCH] refac --- src/lib/components/chat/Chat.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 74f57f564..338ff75d0 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -1937,7 +1937,7 @@ - {#if $banners.length > 0 && !history.currentId && !$chatId && selectedModels.length <= 1} + {#if ($banners.length > 0 && !history.currentId && !$chatId && selectedModels.length <= 1) || ($config?.license_metadata?.type ?? null) === 'trial' || (($config?.license_metadata?.seats ?? null) !== null && $config?.user_count > $config?.license_metadata?.seats)}
{#if ($config?.license_metadata?.type ?? null) === 'trial'}