forked from open-webui/open-webui
add isFirstMessage prop to UserMessage component
This commit is contained in:
parent
c3ed6fe974
commit
32c7971300
2 changed files with 5 additions and 3 deletions
|
@ -239,6 +239,7 @@
|
|||
<UserMessage
|
||||
user={$user}
|
||||
{message}
|
||||
isFirstMessage={messageIdx === 0}
|
||||
siblings={message.parentId !== null
|
||||
? history.messages[message.parentId]?.childrenIds ?? []
|
||||
: Object.values(history.messages)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue