diff options
author | David Cho-Lerat <david.cho-lerat@sonarsource.com> | 2023-06-14 09:26:28 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-06-14 09:51:05 +0000 |
commit | 0496b99c45550c91c017ad61dab3ab6f905d2040 (patch) | |
tree | d29247f0ccb9f6f49f8d5c6738775e6b2e06e562 /server/sonar-web/src/main/js/apps/issues/sidebar | |
parent | e1676e22d0f752fcc358aa630e3ce6651a404faa (diff) | |
download | sonarqube-0496b99c45550c91c017ad61dab3ab6f905d2040.tar.gz sonarqube-0496b99c45550c91c017ad61dab3ab6f905d2040.zip |
SONAR-19751 Change icon color for the dir and file facets
Diffstat (limited to 'server/sonar-web/src/main/js/apps/issues/sidebar')
-rw-r--r-- | server/sonar-web/src/main/js/apps/issues/sidebar/DirectoryFacet.tsx | 4 | ||||
-rw-r--r-- | server/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<Props> { renderDirectory = (directory: React.ReactNode) => ( <> - <DirectoryIcon className="sw-mr-1" /> + <QualifierIcon qualifier="dir" className="sw-mr-1" /> {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<Props> { renderFile = (file: React.ReactNode) => ( <> - <FileIcon className="sw-mr-1" /> + <QualifierIcon qualifier="fil" className="sw-mr-1" /> {file} </> |