Browse Source

fix(ui): button over priority="link" for manage upgrade button (#42889)

Evan Purkhiser 2 years ago
parent
commit
db3133630c
1 changed files with 5 additions and 8 deletions
  1. 5 8
      static/app/views/admin/adminEnvironment.tsx

+ 5 - 8
static/app/views/admin/adminEnvironment.tsx

@@ -45,16 +45,13 @@ export default class AdminEnvironment extends AsyncView<{}, State> {
                     "You're running an old version of Sentry, did you know %s is available?",
                     version.latest
                   )}
-                  aria-label={t(
-                    "You're running an old version of Sentry, did you know %s is available?",
-                    version.latest
-                  )}
-                  priority="link"
                   href="https://github.com/getsentry/sentry/releases"
-                  icon={<IconQuestion size="sm" />}
-                  size="sm"
+                  icon={<IconQuestion size="xs" />}
+                  size="xs"
                   external
-                />
+                >
+                  {t('Upgrade to Sentry %s', version.latest)}
+                </Button>
               )}
             </VersionLabel>
             <dd>