NIFI-10603: fix showing the referencing components border in the fetch parameters dialog (#6491)

This closes #6491
This commit is contained in:
M Tien 2022-10-27 10:45:24 -07:00 committed by GitHub
parent 99a4542c73
commit be64f5560c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 7 deletions

View File

@ -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;
});
}
}
}
}