mirror of
https://github.com/ansible/awx.git
synced 2026-05-16 13:57:39 -02:30
render non-editable linked credentials
We still want to show linked credentials even when a field is non-editable.
This commit is contained in:
@@ -75,6 +75,7 @@ function assignInputGroupValues (apiConfig, credentialType, sourceCredentials) {
|
|||||||
inputs = inputs.map((field) => {
|
inputs = inputs.map((field) => {
|
||||||
field.tagMode = this.isEditable() && credentialType.get('kind') !== 'external';
|
field.tagMode = this.isEditable() && credentialType.get('kind') !== 'external';
|
||||||
if (linkedFieldNames.includes(field.id)) {
|
if (linkedFieldNames.includes(field.id)) {
|
||||||
|
field.tagMode = true;
|
||||||
field.asTag = true;
|
field.asTag = true;
|
||||||
const { summary_fields } = this.get('related.input_sources.results')
|
const { summary_fields } = this.get('related.input_sources.results')
|
||||||
.find(({ input_field_name }) => input_field_name === field.id);
|
.find(({ input_field_name }) => input_field_name === field.id);
|
||||||
|
|||||||
Reference in New Issue
Block a user