You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by mc...@apache.org on 2022/10/27 17:45:31 UTC
[nifi] branch main updated: NIFI-10603: fix showing the referencing components border in the fetch parameters dialog (#6491)
This is an automated email from the ASF dual-hosted git repository.
mcgilman pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new be64f5560c NIFI-10603: fix showing the referencing components border in the fetch parameters dialog (#6491)
be64f5560c is described below
commit be64f5560c54c5a73ad1641175aa1e45fc592045
Author: M Tien <56...@users.noreply.github.com>
AuthorDate: Thu Oct 27 10:45:24 2022 -0700
NIFI-10603: fix showing the referencing components border in the fetch parameters dialog (#6491)
This closes #6491
---
.../src/main/webapp/js/nf/canvas/nf-parameter-provider.js | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-parameter-provider.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-parameter-provider.js
index 0457745a1b..c943bba7ee 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-parameter-provider.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-parameter-provider.js
@@ -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;
+ });
+ }
}
}
}