This is an automated email from the ASF dual-hosted git repository.
exceptionfactory pushed a commit to branch support/nifi-1.x
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/support/nifi-1.x by this push:
new a9e05ff473 NIFI-5137 Fixed the path to Controller Service grid item's
state
a9e05ff473 is described below
commit a9e05ff4733243e8e45787638b87af34ddfa56c2
Author: annanys23 <[email protected]>
AuthorDate: Tue Oct 3 19:32:53 2023 +0000
NIFI-5137 Fixed the path to Controller Service grid item's state
This closes #7833
Signed-off-by: David Handermann <[email protected]>
(cherry picked from commit 6daf0abfd4ce56c1a1285f68af050e02b36fa6f4)
---
.../nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-services.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-services.js
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-services.js
index 3742830bcc..27fc508436 100644
---
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-services.js
+++
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-services.js
@@ -1090,7 +1090,7 @@
} else if (target.hasClass('delete-controller-service')) {
nfControllerService.promptToDeleteController(serviceTable,
controllerServiceEntity);
} else if (target.hasClass('view-state-controller-service')) {
- nfComponentState.showState(controllerServiceEntity,
controllerServiceEntity.state === 'DISABLED');
+ nfComponentState.showState(controllerServiceEntity,
controllerServiceEntity.component.state === 'DISABLED');
} else if
(target.hasClass('change-version-controller-service')) {
nfComponentVersion.promptForVersionChange(controllerServiceEntity);
} else if (target.hasClass('edit-access-policies')) {