mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 05:24:02 +00:00
refac
This commit is contained in:
parent
b1521cacad
commit
ba39f9bf56
@ -691,7 +691,7 @@
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<div class="self-end mb-2 flex space-x-1 mr-1">
|
<div class="self-end mb-2 flex space-x-1 mr-1">
|
||||||
{#if !history?.currentId || history.messages[history.currentId].done == true}
|
{#if !history?.currentId || history.messages[history.currentId]?.done == true}
|
||||||
<Tooltip content={$i18n.t('Record voice')}>
|
<Tooltip content={$i18n.t('Record voice')}>
|
||||||
<button
|
<button
|
||||||
id="voice-input-button"
|
id="voice-input-button"
|
||||||
@ -743,7 +743,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex items-end w-10">
|
<div class="flex items-end w-10">
|
||||||
{#if !history.currentId || history.messages[history.currentId].done == true}
|
{#if !history.currentId || history.messages[history.currentId]?.done == true}
|
||||||
{#if prompt === ''}
|
{#if prompt === ''}
|
||||||
<div class=" flex items-center mb-1">
|
<div class=" flex items-center mb-1">
|
||||||
<Tooltip content={$i18n.t('Call')}>
|
<Tooltip content={$i18n.t('Call')}>
|
||||||
|
@ -337,9 +337,13 @@
|
|||||||
messageId={message.id}
|
messageId={message.id}
|
||||||
idx={messageIdx}
|
idx={messageIdx}
|
||||||
{user}
|
{user}
|
||||||
|
{showPreviousMessage}
|
||||||
|
{showNextMessage}
|
||||||
{editMessage}
|
{editMessage}
|
||||||
{deleteMessage}
|
{deleteMessage}
|
||||||
{rateMessage}
|
{rateMessage}
|
||||||
|
{regenerateResponse}
|
||||||
|
{continueResponse}
|
||||||
/>
|
/>
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user