mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 21:05:19 +00:00
删除语音模式入口。对话输入口没有文字时,发送按钮是灰色的,无法点击
This commit is contained in:
parent
9a989304a1
commit
bdff48466e
1 changed files with 4 additions and 3 deletions
|
|
@ -1759,9 +1759,10 @@
|
||||||
</button>
|
</button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</div>
|
</div>
|
||||||
{:else if prompt === '' && files.length === 0 && ($_user?.role === 'admin' || ($_user?.permissions?.chat?.call ?? true))}
|
|
||||||
|
|
||||||
|
<!-- {:else if prompt === '' && files.length === 0 && ($_user?.role === 'admin' || ($_user?.permissions?.chat?.call ?? true))}
|
||||||
<div class=" flex items-center">
|
<div class=" flex items-center">
|
||||||
<!-- {$i18n.t('Call')} -->
|
|
||||||
<Tooltip content={$i18n.t('Voice mode')}>
|
<Tooltip content={$i18n.t('Voice mode')}>
|
||||||
<button
|
<button
|
||||||
class=" bg-black text-white hover:bg-gray-900 dark:bg-white dark:text-black dark:hover:bg-gray-100 transition rounded-full p-1.5 self-center"
|
class=" bg-black text-white hover:bg-gray-900 dark:bg-white dark:text-black dark:hover:bg-gray-100 transition rounded-full p-1.5 self-center"
|
||||||
|
|
@ -1821,7 +1822,7 @@
|
||||||
<Voice className="size-5" strokeWidth="2.5" />
|
<Voice className="size-5" strokeWidth="2.5" />
|
||||||
</button>
|
</button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</div>
|
</div> -->
|
||||||
{:else}
|
{:else}
|
||||||
<div class=" flex items-center">
|
<div class=" flex items-center">
|
||||||
<Tooltip content={$i18n.t('Send message')}>
|
<Tooltip content={$i18n.t('Send message')}>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue