mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac
This commit is contained in:
parent
d4c628de09
commit
cd740f436d
1 changed files with 10 additions and 11 deletions
|
|
@ -139,18 +139,17 @@
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div class="flex-1 truncate">
|
<div class="flex-1 truncate">
|
||||||
<Tooltip
|
<div class="flex flex-1 gap-2 items-center">
|
||||||
content={tools[toolId]?.description ?? ''}
|
<Tooltip content={tools[toolId]?.name ?? ''} placement="top">
|
||||||
placement="top-start"
|
|
||||||
className="flex flex-1 gap-2 items-center"
|
|
||||||
>
|
|
||||||
<div class="shrink-0">
|
<div class="shrink-0">
|
||||||
<Wrench />
|
<Wrench />
|
||||||
</div>
|
</div>
|
||||||
|
</Tooltip>
|
||||||
|
<Tooltip content={tools[toolId]?.description ?? ''} placement="top-start">
|
||||||
<div class=" truncate">{tools[toolId].name}</div>
|
<div class=" truncate">{tools[toolId].name}</div>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class=" shrink-0">
|
<div class=" shrink-0">
|
||||||
<Switch
|
<Switch
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue