Skip to content

Commit c58c4e9

Browse files
Merge pull request #1172 from topcoder-platform/PM-1529
Remove dropdown icon if not more than one in list
2 parents 984aada + 3a9b115 commit c58c4e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libs/ui/lib/components/tabs-navbar/TabsNavbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ const TabsNavbar: FC<TabsNavbarProps> = (props: TabsNavbarProps) => {
125125
handleActivateTab={handleActivateTab}
126126
handleActivateChildTab={handleActivateChildTab}
127127
/>
128-
<IconOutline.ChevronDownIcon />
128+
{props.tabs.length > 1 && <IconOutline.ChevronDownIcon />}
129129
</div>
130130

131131
<div className={classNames(styles['menu-wrapper'])}>

0 commit comments

Comments
 (0)