From d5f0ba9e49ba97c2a25fd11d9b13fc8c55da85a5 Mon Sep 17 00:00:00 2001 From: Rahul Ramesh <121226043+rahu1ramesh@users.noreply.github.com> Date: Wed, 17 Jul 2024 21:40:19 +0530 Subject: [PATCH] BAH-3334 | Fix. Incorrect Display Control Type (#985) --- ui/app/common/displaycontrols/dashboard/directives/dashboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/common/displaycontrols/dashboard/directives/dashboard.js b/ui/app/common/displaycontrols/dashboard/directives/dashboard.js index 479e1a1046..cf986d9bda 100644 --- a/ui/app/common/displaycontrols/dashboard/directives/dashboard.js +++ b/ui/app/common/displaycontrols/dashboard/directives/dashboard.js @@ -9,7 +9,7 @@ angular.module('bahmni.common.displaycontrol.dashboard') $scope.tabConfigName = $stateParams.tabConfigName || 'default'; if ($scope.patient !== undefined) { - var dashboardConfig = $scope.config.sections['forms-v2-react'] ? $scope.config.sections['forms-v2-react'].dashboardConfig : null; + var dashboardConfig = $scope.config.sections['formsV2react'] ? $scope.config.sections['formsV2React'].dashboardConfig : null; $scope.formData = { patientUuid: $scope.patient.uuid, patient: $scope.patient,