diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-remote-process-group-ports.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-remote-process-group-ports.js index f06182b8fb..519a00bbdd 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-remote-process-group-ports.js +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-remote-process-group-ports.js @@ -262,14 +262,14 @@ if (port.exists === true) { transmissionSwitch = (nfNgBridge.injector.get('$compile')($(''))(nfNgBridge.rootScope)); } else { - (nfNgBridge.injector.get('$compile')($(''))(nfNgBridge.rootScope)); + transmissionSwitch = (nfNgBridge.injector.get('$compile')($(''))(nfNgBridge.rootScope)); } } } else { if (port.transmitting === true) { - (nfNgBridge.injector.get('$compile')($(''))(nfNgBridge.rootScope)); + transmissionSwitch = (nfNgBridge.injector.get('$compile')($(''))(nfNgBridge.rootScope)); } else { - (nfNgBridge.injector.get('$compile')($(''))(nfNgBridge.rootScope)); + transmissionSwitch = (nfNgBridge.injector.get('$compile')($(''))(nfNgBridge.rootScope)); } }