scottyaslan commented on a change in pull request #3683: NIFI-6506 - Add ability to convert properties to parameters URL: https://github.com/apache/nifi/pull/3683#discussion_r320483995
########## 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 ########## @@ -938,7 +957,7 @@ isEmptyStringSet: serializedParam.isEmptyStringSet, isNew: originalParameter.isNew, hasValueChanged: serializedParam.hasValueChanged, - isModified: serializedParam.value !== originalParameter.value || serializedParam.description !== originalParameter.description + isModified: serializedParam.hasValueChanged || serializedParam.description !== originalParameter.description Review comment: Then here you could just check the `serializedParam.hasValueChanged || serializedParam.hasDescriptionChanged` ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services