This is an automated email from the ASF dual-hosted git repository.
exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new 6daf0abfd4 NIFI-5137 Fixed the path to Controller Service grid item's
state
6daf0abfd4 is described below
commit 6daf0abfd4ce56c1a1285f68af050e02b36fa6f4
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]>
---
.../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 d68efd9520..9f6330eeba 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')) {