From 30a4e0e9c9916a76b068268a3d225b3c45784b97 Mon Sep 17 00:00:00 2001 From: Jeremy Davis Date: Thu, 4 Nov 2021 16:02:20 +0100 Subject: [PATCH] SONAR-15587 icon url handles base url --- .../promotion-notification/PromotionNotification.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/js/app/components/promotion-notification/PromotionNotification.tsx b/server/sonar-web/src/main/js/app/components/promotion-notification/PromotionNotification.tsx index 3e907843a69..471e610c44a 100644 --- a/server/sonar-web/src/main/js/app/components/promotion-notification/PromotionNotification.tsx +++ b/server/sonar-web/src/main/js/app/components/promotion-notification/PromotionNotification.tsx @@ -23,6 +23,7 @@ import { dismissSonarlintAd } from '../../../api/users'; import { ButtonLink } from '../../../components/controls/buttons'; import { withCurrentUser } from '../../../components/hoc/withCurrentUser'; import { translate } from '../../../helpers/l10n'; +import { getBaseUrl } from '../../../helpers/system'; import { isLoggedIn } from '../../../helpers/users'; import { setSonarlintAd } from '../../../store/users'; import './PromotionNotification.css'; @@ -47,7 +48,7 @@ export function PromotionNotification(props: PromotionNotificationProps) { return (
- SonarQube + SonarLint + SonarQube + SonarLint
-- 2.39.5