mirror of https://github.com/apache/nifi.git
NIFI-10603: fix showing the referencing components border in the fetch parameters dialog (#6491)
This closes #6491
This commit is contained in:
parent
99a4542c73
commit
be64f5560c
|
@ -2549,14 +2549,15 @@
|
|||
|
||||
// only populate referencing components if this parameter is different than the last selected
|
||||
if (lastSelectedParameterId === null || lastSelectedParameterId !== parameter.id) {
|
||||
if ($('#selectable-parameters-table').is(':visible')) {
|
||||
populateReferencingComponents(parameter.parameterStatus)
|
||||
.then(function () {
|
||||
updateReferencingComponentsBorder($('#fetch-parameter-referencing-components-container'));
|
||||
|
||||
populateReferencingComponents(parameter.parameterStatus)
|
||||
.then(function () {
|
||||
updateReferencingComponentsBorder($('#fetch-parameter-referencing-components-container'));
|
||||
|
||||
// update the last selected id
|
||||
lastSelectedParameterId = parameter.id;
|
||||
});
|
||||
// update the last selected id
|
||||
lastSelectedParameterId = parameter.id;
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue