diff --git a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-processor-property-table.js b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-processor-property-table.js index b5bfb79574..d5ff1c4093 100644 --- a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-processor-property-table.js +++ b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-processor-property-table.js @@ -475,11 +475,11 @@ nf.ProcessorPropertyTable = (function () { // use the display name if possible displayName = descriptor.displayName; - } - - // determine the value - if (nf.Common.isUndefined(value) || nf.Common.isNull(value)) { - value = descriptor.defaultValue; + + // determine the value + if (nf.Common.isUndefined(value) || nf.Common.isNull(value)) { + value = descriptor.defaultValue; + } } // add the row diff --git a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/nf/nf-processor-details.js b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/nf/nf-processor-details.js index f27fc7a435..8daff9a07f 100644 --- a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/nf/nf-processor-details.js +++ b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/nf/nf-processor-details.js @@ -462,6 +462,7 @@ nf.ProcessorDetails = (function () { // determine the property type var type = 'userDefined'; + var displayName = name; if (nf.Common.isDefinedAndNotNull(descriptor)) { if (descriptor.required === true) { type = 'required'; @@ -470,17 +471,20 @@ nf.ProcessorDetails = (function () { } else { type = 'optional'; } - } - - // determine the value - if (nf.Common.isUndefined(value) || nf.Common.isNull(value)) { - value = descriptor.defaultValue; + + // use the display name if possible + displayName = descriptor.displayName; + + // determine the value + if (nf.Common.isUndefined(value) || nf.Common.isNull(value)) { + value = descriptor.defaultValue; + } } // add the row propertyData.addItem({ id: i++, - property: name, + property: displayName, value: value, type: type });