mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-20 07:43:35 -05:00
[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:
@@ -9,6 +9,8 @@ function CredentialChip({ credential, ...props }) {
|
|||||||
let type;
|
let type;
|
||||||
if (credential.cloud) {
|
if (credential.cloud) {
|
||||||
type = t`Cloud`;
|
type = t`Cloud`;
|
||||||
|
} else if (credential.kind === 'gpg_public_key') {
|
||||||
|
type = t`GPG Public Key`;
|
||||||
} else if (credential.kind === 'aws' || credential.kind === 'ssh') {
|
} else if (credential.kind === 'aws' || credential.kind === 'ssh') {
|
||||||
type = credential.kind.toUpperCase();
|
type = credential.kind.toUpperCase();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user