refac: tooltip
This commit is contained in:
1 parent
0ae7d12343
commit
16d62d7869
1 file changed
+2
-2
@@ -1133,7 +1133,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{#if $config?.features?.enable_image_generation && ($_user.role === 'admin' || $_user?.permissions?.features?.image_generation)}
|
{#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
|
<button
|
||||||
on:click|preventDefault={() =>
|
on:click|preventDefault={() =>
|
||||||
(imageGenerationEnabled = !imageGenerationEnabled)}
|
(imageGenerationEnabled = !imageGenerationEnabled)}
|
||||||
@@ -1151,7 +1151,7 @@
|
|||||||
</Tooltip>
|
</Tooltip>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<Tooltip content={$i18n.t('Code Intepreter')} placement="top">
|
<Tooltip content={$i18n.t('Executes code for analysis')} placement="top">
|
||||||
<button
|
<button
|
||||||
on:click|preventDefault={() =>
|
on:click|preventDefault={() =>
|
||||||
(codeInterpreterEnabled = !codeInterpreterEnabled)}
|
(codeInterpreterEnabled = !codeInterpreterEnabled)}
|
||||||
|
|||||||
Reference in new issue
Block a user