mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 06:51:10 +03:00
render non-editable linked credentials
We still want to show linked credentials even when a field is non-editable.
This commit is contained in:
parent
0f6615d9cd
commit
6b87241099
@ -75,6 +75,7 @@ function assignInputGroupValues (apiConfig, credentialType, sourceCredentials) {
|
||||
inputs = inputs.map((field) => {
|
||||
field.tagMode = this.isEditable() && credentialType.get('kind') !== 'external';
|
||||
if (linkedFieldNames.includes(field.id)) {
|
||||
field.tagMode = true;
|
||||
field.asTag = true;
|
||||
const { summary_fields } = this.get('related.input_sources.results')
|
||||
.find(({ input_field_name }) => input_field_name === field.id);
|
||||
|
Loading…
Reference in New Issue
Block a user