Fix svelte 4 components to fit into requirements

This commit is contained in:
kwaroran
2024-10-22 22:06:20 +09:00
parent 00b4195ca0
commit 8e1d014f6e
9 changed files with 41 additions and 27 deletions

View File

@@ -566,7 +566,7 @@
isLastMemory={$CurrentChat.lastMemory === (chat.chatId ?? 'none') && $CurrentShowMemoryLimit}
character={$CurrentSimpleCharacter}
largePortrait={$CurrentCharacter.largePortrait}
MessageGenerationInfo={chat.generationInfo}
messageGenerationInfo={chat.generationInfo}
/>
{:else}
<Chat
@@ -580,7 +580,7 @@
isLastMemory={$CurrentChat.lastMemory === (chat.chatId ?? 'none') && $CurrentShowMemoryLimit}
character={chat.saying}
largePortrait={findCharacterbyId(chat.saying).largePortrait}
MessageGenerationInfo={chat.generationInfo}
messageGenerationInfo={chat.generationInfo}
/>
{/if}
{:else}
@@ -592,7 +592,7 @@
img={$ConnectionOpenStore ? '' : getCharImage($CurrentUserIcon, 'css')}
isLastMemory={$CurrentChat.lastMemory === (chat.chatId ?? 'none') && $CurrentShowMemoryLimit}
largePortrait={$UserIconProtrait}
MessageGenerationInfo={chat.generationInfo}
messageGenerationInfo={chat.generationInfo}
/>
{/if}
{/each}