[ui] Minor tweak to capitalize GPG properly (#12734)

"GPG Public Key", not "Gpg Public Key"

Signed-off-by: Rick Elrod <rick@elrod.me>
This commit is contained in:
Rick Elrod
2022-09-13 20:37:09 -05:00
committed by GitHub
parent 94344c0214
commit 0812425671

View File

@@ -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 {