diff options
author | Jeremy Davis <jeremy.davis@sonarsource.com> | 2021-11-04 16:02:20 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-11-04 20:03:25 +0000 |
commit | 30a4e0e9c9916a76b068268a3d225b3c45784b97 (patch) | |
tree | b3bd01749f94d0c143869d78d92216983e1c47df /server/sonar-web/src/main/js/app | |
parent | 2652559a004e9535196831746224669e54a2d721 (diff) | |
download | sonarqube-30a4e0e9c9916a76b068268a3d225b3c45784b97.tar.gz sonarqube-30a4e0e9c9916a76b068268a3d225b3c45784b97.zip |
SONAR-15587 icon url handles base url
Diffstat (limited to 'server/sonar-web/src/main/js/app')
-rw-r--r-- | server/sonar-web/src/main/js/app/components/promotion-notification/PromotionNotification.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
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 ( <div className="toaster display-flex-center big-padded-left big-padded-right"> <div className="toaster-icon spacer-right"> - <img alt="SonarQube + SonarLint" src="/images/sq-sl.png" /> + <img alt="SonarQube + SonarLint" src={`${getBaseUrl()}/images/sq-sl.png`} /> </div> <div className="toaster-content flex-1 padded-left padded-right big-padded-top big-padded-bottom"> <span className="toaster-title text-bold medium"> |