scottyaslan commented on a change in pull request #5060:
URL: https://github.com/apache/nifi/pull/5060#discussion_r632740807



##########
File path: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-parameter-contexts.js
##########
@@ -2397,8 +2397,6 @@
          * @param parameterToSelect   Optional, name of the parameter to 
select in the table.
          */
         showParameterContext: function (id, readOnly, parameterToSelect) {
-            parameterCount = 0;

Review comment:
       This is needed as the count gets reset every time the 
`#parameter-context-dialog` is opened and this count is used to track the index 
of any new parameters. Instead of removing this line try calling `resetUsage()` 
before we reset the `parameterCount = 0;`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to