Update awx/ui_next/src/components/Lookup/CredentialLookup.jsx

Co-authored-by: Jake McDermott <yo@jakemcdermott.me>
This commit is contained in:
Alex Corey
2020-08-19 13:32:48 -04:00
committed by GitHub
parent 8a2bf8c1fc
commit 7bff11379c

View File

@@ -69,7 +69,7 @@ function CredentialLookup({
).map(val => val.slice(0, -8)),
searchableKeys: Object.keys(
actionsResponse.data?.actions?.GET || {}
).filter(key => actionsResponse.data?.actions?.GET[key].filterable),
).filter(key => actionsResponse.data?.actions?.GET[key]?.filterable),
};
}, [
credentialTypeId,