diff --git a/src/components/MainNav/ProfileDropdown/ProfileDropdown.js b/src/components/MainNav/ProfileDropdown/ProfileDropdown.js index 190a18820..070b9cc4c 100644 --- a/src/components/MainNav/ProfileDropdown/ProfileDropdown.js +++ b/src/components/MainNav/ProfileDropdown/ProfileDropdown.js @@ -256,23 +256,13 @@ class ProfileDropdown extends Component { } renderProfileTriggerLabel = ({ open }) => { - const { okapi } = this.props.stripes; - const userData = this.getUserData(); - const servicePointName = userData?.curServicePoint?.name; - const tenantName = userData?.tenants?.find(({ id }) => id === okapi.tenant)?.name; - - const hasLabel = Boolean(servicePointName || tenantName); - return ( - hasLabel ? ( <> - - {tenantName && {tenantName}} - {servicePointName && {servicePointName}} - + + + - ) : null ); } diff --git a/translations/stripes-core/en.json b/translations/stripes-core/en.json index 3aa4b1696..3593c118d 100644 --- a/translations/stripes-core/en.json +++ b/translations/stripes-core/en.json @@ -98,7 +98,7 @@ "settingSystemInfo": "System information", "settingChoose": "Choose settings", - "mainnav.showAllApplicationsButtonLabel": "Apps", + "mainnav.showAllApplicationsButtonLabel": "All applications", "mainnav.showAllApplicationsButtonAriaLabel": "All applications", "mainnav.currentAppAriaLabel": "Current open application: {appName} (Click to go home)", "mainnav.topLevelLabel": "Primary",