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:
parent
764e0ae568
commit
6d0c52e17a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue