mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
remove duplicate JT credential fetch
This commit is contained in:
parent
0be68fe84f
commit
55b5060944
@ -72,16 +72,7 @@ function Template({ setBreadcrumb }) {
|
||||
surveyConfiguration = survey;
|
||||
}
|
||||
if (data.summary_fields.credentials) {
|
||||
const params = {
|
||||
page: 1,
|
||||
page_size: 200,
|
||||
order_by: 'name',
|
||||
};
|
||||
const {
|
||||
data: { results },
|
||||
} = await JobTemplatesAPI.readCredentials(data.id, params);
|
||||
|
||||
data.summary_fields.credentials = results;
|
||||
data.summary_fields.credentials = defaultCredentials;
|
||||
}
|
||||
|
||||
if (actions.data.actions.PUT) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user