mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02: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,
|
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 (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|||||||
Reference in New Issue
Block a user