From 08124256712f776135dc08e368ffd5eb3939bee9 Mon Sep 17 00:00:00 2001 From: Rick Elrod Date: Tue, 13 Sep 2022 20:37:09 -0500 Subject: [PATCH] [ui] Minor tweak to capitalize GPG properly (#12734) "GPG Public Key", not "Gpg Public Key" Signed-off-by: Rick Elrod --- awx/ui/src/components/CredentialChip/CredentialChip.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awx/ui/src/components/CredentialChip/CredentialChip.js b/awx/ui/src/components/CredentialChip/CredentialChip.js index 0c4780ced6..43acf57fd0 100644 --- a/awx/ui/src/components/CredentialChip/CredentialChip.js +++ b/awx/ui/src/components/CredentialChip/CredentialChip.js @@ -9,6 +9,8 @@ function CredentialChip({ credential, ...props }) { let type; if (credential.cloud) { type = t`Cloud`; + } else if (credential.kind === 'gpg_public_key') { + type = t`GPG Public Key`; } else if (credential.kind === 'aws' || credential.kind === 'ssh') { type = credential.kind.toUpperCase(); } else {