Skip to content

Commit

Permalink
Show checkmark icon in story status dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld committed Oct 25, 2024
1 parent 6098c01 commit 4eba200
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/core/src/manager/components/sidebar/Tree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
CollapseIcon as CollapseIconSvg,
ExpandAltIcon,
StatusFailIcon,
StatusPassIcon,
StatusWarnIcon,
SyncIcon,
} from '@storybook/icons';
Expand Down Expand Up @@ -224,7 +225,7 @@ const Node = React.memo<NodeProps>(function Node({
description: value.description,
'aria-label': `Test status for ${value.title}: ${value.status}`,
icon: {
success: null, // We don't show a checkmark, to avoid clutter
success: <StatusPassIcon color={theme.color.positive} />,
error: <StatusFailIcon color={theme.color.negative} />,
warn: <StatusWarnIcon color={theme.color.warning} />,
pending: <SyncIcon size={12} color={theme.color.defaultText} />,
Expand Down

0 comments on commit 4eba200

Please sign in to comment.