Browse Source

ref(js): Add missing label for settings nav 'Close the menu' (#30634)

Evan Purkhiser 3 years ago
parent
commit
ad5a9a0fb4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      static/app/views/settings/components/settingsLayout.tsx

+ 1 - 1
static/app/views/settings/components/settingsLayout.tsx

@@ -58,7 +58,7 @@ function SettingsLayout(props: Props) {
           {shouldRenderNavigation && (
             <NavMenuToggle
               priority="link"
-              label={t('Open the menu')}
+              label={navVisible ? t('Close the menu') : t('Open the menu')}
               icon={navVisible ? <IconClose aria-hidden /> : <IconMenu aria-hidden />}
               onClick={() => toggleNav(!navVisible)}
             />