Skip to content

Commit

Permalink
NIFI-10603: fix showing the referencing components border in the fetc…
Browse files Browse the repository at this point in the history
…h parameters dialog (apache#6491)

This closes apache#6491
  • Loading branch information
mtien-apache authored Oct 27, 2022
1 parent 99a4542 commit be64f55
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
}
}
}
}
Expand Down

0 comments on commit be64f55

Please sign in to comment.