From 6daf0abfd4ce56c1a1285f68af050e02b36fa6f4 Mon Sep 17 00:00:00 2001 From: annanys23 Date: Tue, 3 Oct 2023 19:32:53 +0000 Subject: [PATCH] NIFI-5137 Fixed the path to Controller Service grid item's state This closes #7833 Signed-off-by: David Handermann --- .../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')) {