refactor: remove component count display in TabsWidget

- Removed the display of the component count next to the tab labels in the TabsWidget.
- This change simplifies the tab interface by eliminating unnecessary information, enhancing the overall user experience.

These updates aim to streamline the visual presentation of the TabsWidget component.
This commit is contained in:
kjs 2026-03-17 16:37:04 +09:00
parent 764e0ae568
commit 6d0c52e17a
1 changed files with 0 additions and 3 deletions

View File

@ -477,9 +477,6 @@ export function TabsWidget({
<div key={tab.id} className="relative">
<TabsTrigger value={tab.id} disabled={tab.disabled} className="relative pr-8">
{tab.label}
{tab.components && tab.components.length > 0 && (
<span className="text-muted-foreground ml-1 text-xs">({tab.components.length})</span>
)}
</TabsTrigger>
{allowCloseable && (
<Button