From 4eba200866e207aca11ddcd9dd7ca5710bf779c5 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Fri, 25 Oct 2024 21:16:09 +0200 Subject: [PATCH] Show checkmark icon in story status dropdown --- code/core/src/manager/components/sidebar/Tree.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/core/src/manager/components/sidebar/Tree.tsx b/code/core/src/manager/components/sidebar/Tree.tsx index 2cb99d61cdc..49110a95a72 100644 --- a/code/core/src/manager/components/sidebar/Tree.tsx +++ b/code/core/src/manager/components/sidebar/Tree.tsx @@ -7,6 +7,7 @@ import { CollapseIcon as CollapseIconSvg, ExpandAltIcon, StatusFailIcon, + StatusPassIcon, StatusWarnIcon, SyncIcon, } from '@storybook/icons'; @@ -224,7 +225,7 @@ const Node = React.memo(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: , error: , warn: , pending: ,