mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-10 03:27:57 +00:00
refac
This commit is contained in:
parent
ffce74fd29
commit
f5e9e58109
1 changed files with 2 additions and 2 deletions
|
|
@ -2715,7 +2715,7 @@
|
|||
{#if !embedded && prompt === '' && files.length === 0 && ($_user?.role === 'admin' || ($_user?.permissions?.chat?.call ?? true))}
|
||||
<div class=" flex items-center">
|
||||
<!-- {$i18n.t('Call')} -->
|
||||
<Tooltip content={$i18n.t(callActive ? 'Call in progress' : 'Voice mode')}>
|
||||
<Tooltip content={callActive ? $i18n.t('Call in progress') : $i18n.t('Voice mode')}>
|
||||
<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-[0.3125rem] self-center"
|
||||
class:call-active={callActive}
|
||||
|
|
@ -2781,7 +2781,7 @@
|
|||
);
|
||||
}
|
||||
}}
|
||||
aria-label={$i18n.t(callActive ? 'Return to call' : 'Voice mode')}
|
||||
aria-label={callActive ? $i18n.t('Return to call') : $i18n.t('Voice mode')}
|
||||
>
|
||||
<Voice className="size-5" strokeWidth="2.5" />
|
||||
</button>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue