Fix conditional statements in Chat.svelte, DefaultChatScreen.svelte, SideChatList.svelte, and Sidebar.svelte

This commit is contained in:
kwaroran
2024-04-25 14:31:32 +09:00
parent 6ae39619b7
commit 8d91267c69
4 changed files with 6 additions and 6 deletions

View File

@@ -655,7 +655,7 @@
<h1 class="text-xl">Welcome to RisuAI!</h1>
<span class="text-xs text-textcolor2">Select a bot to start chating</span>
</div>
{:else if $CurrentCharacter.chaId === '§playground'}
{:else if $CurrentCharacter?.chaId === '§playground'}
<SideChatList bind:chara={ $CurrentCharacter} />
{:else}
<div class="w-full h-8 min-h-8 border-l border-b border-r border-selected relative bottom-6 rounded-b-md flex">