mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 19:21:06 -03:30
Fixes credential type dropdown item sort issue where Vault appeared after VMware
This commit is contained in:
@@ -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 (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user