Skip to content

Commit

Permalink
fix: display the label instead of the value for menu item (#943)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinwmerritt authored Apr 29, 2024
1 parent 0c16c3b commit 4ec901b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/atoms/inputs/selects/MenuItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const MenuItem = ({
>
<Stack direction="row" alignItems="center" spacing={1}>
{item.icon ? item.icon : null}
<span>{item.value}</span>
<span>{item?.label || item.value}</span>
</Stack>
{item.notificationCount ? (
<NotificationCount count={item.notificationCount} />
Expand Down

0 comments on commit 4ec901b

Please sign in to comment.