This commit is contained in:
Timothy Jaeryang Baek
2026-03-02 15:01:10 -06:00
parent 4f6cb771f1
commit 1a2b360d3d
4 changed files with 18 additions and 49 deletions
+3 -7
View File
@@ -1636,12 +1636,10 @@
{/if}
<div class="ml-1 flex gap-1.5">
{#if (selectedToolIds ?? []).filter((id) => !id.startsWith('direct_server:terminal_')).length > 0}
{#if (selectedToolIds ?? []).length > 0}
<Tooltip
content={$i18n.t('{{COUNT}} Available Tools', {
COUNT: (selectedToolIds ?? []).filter(
(id) => !id.startsWith('direct_server:terminal_')
).length
COUNT: (selectedToolIds ?? []).length
})}
>
<button
@@ -1655,9 +1653,7 @@
<Wrench className="size-4" strokeWidth="1.75" />
<span class="text-sm">
{(selectedToolIds ?? []).filter(
(id) => !id.startsWith('direct_server:terminal_')
).length}
{(selectedToolIds ?? []).length}
</span>
</button>
</Tooltip>