mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
refac: tooltip
This commit is contained in:
parent
0ae7d12343
commit
16d62d7869
1 changed files with 2 additions and 2 deletions
|
|
@ -1133,7 +1133,7 @@
|
|||
{/if}
|
||||
|
||||
{#if $config?.features?.enable_image_generation && ($_user.role === 'admin' || $_user?.permissions?.features?.image_generation)}
|
||||
<Tooltip content={$i18n.t('Image generation')} placement="top">
|
||||
<Tooltip content={$i18n.t('Generate an image')} placement="top">
|
||||
<button
|
||||
on:click|preventDefault={() =>
|
||||
(imageGenerationEnabled = !imageGenerationEnabled)}
|
||||
|
|
@ -1151,7 +1151,7 @@
|
|||
</Tooltip>
|
||||
{/if}
|
||||
|
||||
<Tooltip content={$i18n.t('Code Intepreter')} placement="top">
|
||||
<Tooltip content={$i18n.t('Executes code for analysis')} placement="top">
|
||||
<button
|
||||
on:click|preventDefault={() =>
|
||||
(codeInterpreterEnabled = !codeInterpreterEnabled)}
|
||||
|
|
|
|||
Loading…
Reference in a new issue