aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/icons/TestStatusIcon.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/components/icons/TestStatusIcon.tsx')
-rw-r--r--server/sonar-web/src/main/js/components/icons/TestStatusIcon.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/components/icons/TestStatusIcon.tsx b/server/sonar-web/src/main/js/components/icons/TestStatusIcon.tsx
index f7bd5ff5843..6555744c948 100644
--- a/server/sonar-web/src/main/js/components/icons/TestStatusIcon.tsx
+++ b/server/sonar-web/src/main/js/components/icons/TestStatusIcon.tsx
@@ -33,8 +33,8 @@ const statusIcons: T.Dict<(props: IconProps) => React.ReactElement> = {
};
export default function TestStatusIcon({ status, ...iconProps }: Props) {
- const Icon = statusIcons[status.toLowerCase()];
- return Icon ? <Icon {...iconProps} /> : null;
+ const DesiredStatusIcon = statusIcons[status.toLowerCase()];
+ return DesiredStatusIcon ? <DesiredStatusIcon {...iconProps} /> : null;
}
function OkTestStatusIcon(iconProps: IconProps) {