mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 10:27:37 -02:30
fix prompt-for machine cred query params too
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user