diff --git a/micro-ui/web/micro-ui-internals/example/package.json b/micro-ui/web/micro-ui-internals/example/package.json index c6a1370f003..11aede3eb0a 100644 --- a/micro-ui/web/micro-ui-internals/example/package.json +++ b/micro-ui/web/micro-ui-internals/example/package.json @@ -9,7 +9,7 @@ "start": "react-scripts start" }, "devDependencies": { - "@egovernments/digit-ui-libraries": "1.8.6", + "@egovernments/digit-ui-libraries": "1.8.7", "@egovernments/digit-ui-module-workbench": "1.0.11", "@egovernments/digit-ui-module-pgr": "1.8.10", "@egovernments/digit-ui-module-dss": "1.8.10", diff --git a/micro-ui/web/micro-ui-internals/packages/libraries/package.json b/micro-ui/web/micro-ui-internals/packages/libraries/package.json index ed85d2d819a..18821912429 100644 --- a/micro-ui/web/micro-ui-internals/packages/libraries/package.json +++ b/micro-ui/web/micro-ui-internals/packages/libraries/package.json @@ -1,6 +1,6 @@ { "name": "@egovernments/digit-ui-libraries", - "version": "1.8.6", + "version": "1.8.7", "main": "dist/index.js", "module": "dist/index.modern.js", "source": "src/index.js", diff --git a/micro-ui/web/micro-ui-internals/packages/libraries/src/hooks/pgr/useComplaintSubType.js b/micro-ui/web/micro-ui-internals/packages/libraries/src/hooks/pgr/useComplaintSubType.js index 6aa59a02340..f97345fa583 100644 --- a/micro-ui/web/micro-ui-internals/packages/libraries/src/hooks/pgr/useComplaintSubType.js +++ b/micro-ui/web/micro-ui-internals/packages/libraries/src/hooks/pgr/useComplaintSubType.js @@ -6,7 +6,8 @@ const useComplaintSubType = (complaintType, t) => { useEffect(() => { (async () => { if (complaintType) { - const menu = await Digit.GetServiceDefinitions.getSubMenu(Digit.ULBService.getCurrentTenantId(), complaintType, t); + const stateId = Digit.Utils.getMultiRootTenant() ? Digit.ULBService.getStateId() : Digit.ULBService.getCurrentTenantId() + const menu = await Digit.GetServiceDefinitions.getSubMenu(stateId, complaintType, t); setSubTypeMenu(menu); } })(); diff --git a/micro-ui/web/package.json b/micro-ui/web/package.json index 8039a3a4117..0ae16d7304b 100644 --- a/micro-ui/web/package.json +++ b/micro-ui/web/package.json @@ -14,7 +14,7 @@ ], "homepage": "/digit-ui", "dependencies": { - "@egovernments/digit-ui-libraries": "1.8.6", + "@egovernments/digit-ui-libraries": "1.8.7", "@egovernments/digit-ui-module-workbench": "1.0.11", "@egovernments/digit-ui-module-pgr": "1.8.10", "@egovernments/digit-ui-module-dss": "1.8.10", diff --git a/micro-ui/web/sandbox/package.json b/micro-ui/web/sandbox/package.json index b0bec7f65b6..7fcfff3fa33 100644 --- a/micro-ui/web/sandbox/package.json +++ b/micro-ui/web/sandbox/package.json @@ -19,7 +19,7 @@ ], "homepage": "/sandbox-ui", "dependencies": { - "@egovernments/digit-ui-libraries": "1.8.6", + "@egovernments/digit-ui-libraries": "1.8.7", "@egovernments/digit-ui-module-workbench": "1.0.11", "@egovernments/digit-ui-module-pgr": "1.8.10", "@egovernments/digit-ui-module-dss": "1.8.10",