mirror of
https://github.com/open-webui/open-webui
synced 2025-06-23 02:16:52 +00:00
refac: styling
This commit is contained in:
parent
4db0da2b75
commit
ba6fc385bb
@ -858,6 +858,11 @@
|
||||
|
||||
const loadChat = async () => {
|
||||
chatId.set(chatIdProp);
|
||||
|
||||
if ($temporaryChatEnabled) {
|
||||
temporaryChatEnabled.set(false);
|
||||
}
|
||||
|
||||
chat = await getChatById(localStorage.token, $chatId).catch(async (error) => {
|
||||
await goto('/');
|
||||
return null;
|
||||
|
@ -193,6 +193,12 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{#if $temporaryChatEnabled && $chatId === 'local'}
|
||||
<div class=" w-full z-30 text-center">
|
||||
<div class="text-xs text-gray-500">Temporary Chat</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{#if !history.currentId && !$chatId && ($banners.length > 0 || ($config?.license_metadata?.type ?? null) === 'trial' || (($config?.license_metadata?.seats ?? null) !== null && $config?.user_count > $config?.license_metadata?.seats))}
|
||||
<div class=" w-full z-30 mt-5">
|
||||
<div class=" flex flex-col gap-1 w-full">
|
||||
|
Loading…
Reference in New Issue
Block a user