From 03600808205c4f6df77713dbd40ee0a6e9c25a48 Mon Sep 17 00:00:00 2001 From: David Cho-Lerat Date: Fri, 15 Mar 2024 18:24:42 +0100 Subject: SONAR-21867 Create Image component with baseUrl --- .../js/apps/projects/components/ProjectCreationMenuItem.tsx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'server/sonar-web/src/main/js/apps/projects/components/ProjectCreationMenuItem.tsx') diff --git a/server/sonar-web/src/main/js/apps/projects/components/ProjectCreationMenuItem.tsx b/server/sonar-web/src/main/js/apps/projects/components/ProjectCreationMenuItem.tsx index 5d7c9e57d97..85e45472453 100644 --- a/server/sonar-web/src/main/js/apps/projects/components/ProjectCreationMenuItem.tsx +++ b/server/sonar-web/src/main/js/apps/projects/components/ProjectCreationMenuItem.tsx @@ -17,10 +17,11 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + import { ItemLink } from 'design-system'; import * as React from 'react'; +import { Image } from '../../../components/common/Image'; import { translate } from '../../../helpers/l10n'; -import { getBaseUrl } from '../../../helpers/system'; import { queryToSearch } from '../../../helpers/urls'; import { AlmKeys } from '../../../types/alm-settings'; @@ -40,12 +41,7 @@ export default function ProjectCreationMenuItem(props: ProjectCreationMenuItemPr to={{ pathname: '/projects/create', search: queryToSearch({ mode: alm }) }} > {alm !== 'manual' && ( - {alm} + {alm} )} {translate('my_account.add_project', alm)} -- cgit v1.2.3