mirror of
https://github.com/ansible/awx.git
synced 2026-01-19 13:41:28 -03:30
Fixes credential type dropdown item sort issue where Vault appeared after VMware
This commit is contained in:
parent
9180334908
commit
8aa6e9466f
@ -27,7 +27,7 @@ function CredentialFormFields({ i18n, credentialTypes, formik }) {
|
||||
label: credentialTypes[key].name,
|
||||
};
|
||||
})
|
||||
.sort((a, b) => (a.label > b.label ? 1 : -1));
|
||||
.sort((a, b) => (a.label.toLowerCase() > b.label.toLowerCase() ? 1 : -1));
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user