mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-10 22:43:29 +00:00
fix: show floating action buttons when chat model is unavailable (#22149)
This commit is contained in:
parent
8a6af40d9f
commit
16701befe7
1 changed files with 2 additions and 2 deletions
|
|
@ -195,7 +195,7 @@
|
|||
/>
|
||||
</div>
|
||||
|
||||
{#if floatingButtons && model}
|
||||
{#if floatingButtons}
|
||||
<FloatingButtons
|
||||
bind:this={floatingButtonsElement}
|
||||
{id}
|
||||
|
|
@ -205,7 +205,7 @@
|
|||
? model?.id
|
||||
: (selectedModels ?? []).length > 0
|
||||
? selectedModels.at(0)
|
||||
: model?.id}
|
||||
: model?.id ?? null}
|
||||
messages={createMessagesList(history, messageId)}
|
||||
onAdd={({ modelId, parentId, messages }) => {
|
||||
console.log(modelId, parentId, messages);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue