From 0496b99c45550c91c017ad61dab3ab6f905d2040 Mon Sep 17 00:00:00 2001 From: David Cho-Lerat Date: Wed, 14 Jun 2023 09:26:28 +0200 Subject: [PATCH] SONAR-19751 Change icon color for the dir and file facets --- .../src/main/js/apps/issues/sidebar/DirectoryFacet.tsx | 4 ++-- .../sonar-web/src/main/js/apps/issues/sidebar/FileFacet.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/sonar-web/src/main/js/apps/issues/sidebar/DirectoryFacet.tsx b/server/sonar-web/src/main/js/apps/issues/sidebar/DirectoryFacet.tsx index 5b685f2cde2..4f8bdff5c9b 100644 --- a/server/sonar-web/src/main/js/apps/issues/sidebar/DirectoryFacet.tsx +++ b/server/sonar-web/src/main/js/apps/issues/sidebar/DirectoryFacet.tsx @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { DirectoryIcon } from 'design-system'; +import { QualifierIcon } from 'design-system'; import { omit } from 'lodash'; import * as React from 'react'; import { getDirectories } from '../../../api/components'; @@ -82,7 +82,7 @@ export class DirectoryFacet extends React.PureComponent { renderDirectory = (directory: React.ReactNode) => ( <> - + {directory} diff --git a/server/sonar-web/src/main/js/apps/issues/sidebar/FileFacet.tsx b/server/sonar-web/src/main/js/apps/issues/sidebar/FileFacet.tsx index d3968c2130b..979d2a94176 100644 --- a/server/sonar-web/src/main/js/apps/issues/sidebar/FileFacet.tsx +++ b/server/sonar-web/src/main/js/apps/issues/sidebar/FileFacet.tsx @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { FileIcon } from 'design-system'; +import { QualifierIcon } from 'design-system'; import { omit } from 'lodash'; import * as React from 'react'; import { getFiles } from '../../../api/components'; @@ -89,7 +89,7 @@ export class FileFacet extends React.PureComponent { renderFile = (file: React.ReactNode) => ( <> - + {file} -- 2.39.5