mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 23:51:09 +03:00
fix prompt-for machine cred query params too
This commit is contained in:
parent
745209d362
commit
03a04268cf
@ -134,7 +134,7 @@ export default
|
|||||||
var base = $state.current.name,
|
var base = $state.current.name,
|
||||||
// As of 3.0, the only place the user can relaunch a
|
// As of 3.0, the only place the user can relaunch a
|
||||||
// playbook is on jobTemplates.edit (completed_jobs tab),
|
// playbook is on jobTemplates.edit (completed_jobs tab),
|
||||||
// jobs, and jobDetails $states.
|
// jobs, and jobDetails $states.
|
||||||
isRelaunch = !(base === 'jobTemplates' || base === 'portalMode' || base === 'dashboard');
|
isRelaunch = !(base === 'jobTemplates' || base === 'portalMode' || base === 'dashboard');
|
||||||
|
|
||||||
if (!isRelaunch) {
|
if (!isRelaunch) {
|
||||||
@ -333,6 +333,7 @@ export default
|
|||||||
var credential_url = GetBasePath('credentials') + '?kind=ssh';
|
var credential_url = GetBasePath('credentials') + '?kind=ssh';
|
||||||
|
|
||||||
var credList = _.cloneDeep(CredentialList);
|
var credList = _.cloneDeep(CredentialList);
|
||||||
|
credList.basePath = GetBasePath('credentials') + '?kind=ssh';
|
||||||
credList.fields.description.searchable = false;
|
credList.fields.description.searchable = false;
|
||||||
credList.fields.kind.searchable = false;
|
credList.fields.kind.searchable = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user