const customLogoUrl = settings[GlobalSettingKeys.LogoUrl];
const customLogoWidth = settings[GlobalSettingKeys.LogoWidth] ?? DEFAULT_CUSTOM_LOGO_WIDTH_IN_PX;
- const title = translate('layout.nav.home_logo_alt');
+ const title = customLogoUrl
+ ? translate('layout.nav.home_logo_alt')
+ : translate('layout.nav.home_sonarqube_logo_alt');
return (
<div aria-label={title} role="img">
layout.settings.SVW=Portfolio Settings
layout.security_reports=Security Reports
layout.nav.home_logo_alt=Logo, link to homepage
+layout.nav.home_sonarqube_logo_alt=SonarQube logo, link to homepage
layout.must_be_configured=This will be available once your project is configured and analyzed.
layout.all_project_must_be_accessible=You need access to all projects within this {0} to access it.