Skip to content

Commit

Permalink
Display dropdown menu indicator only when icon set expliclity to false
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo committed May 30, 2019
1 parent 1b24803 commit 032167a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/dropdown-menu/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function DropdownMenu( {
labelPosition={ __unstableLabelPosition }
tooltip={ label }
>
{ icon !== 'ellipsis' && <span className="components-dropdown-menu__indicator" /> }
{ ! icon && <span className="components-dropdown-menu__indicator" /> }
</IconButton>
);
} }
Expand Down

0 comments on commit 032167a

Please sign in to comment.