Skip to content

Commit

Permalink
BUGFIX/SN-391 : complaint subtype fix (#2085)
Browse files Browse the repository at this point in the history
complaint subtype fix

Co-authored-by: Jagankumar <[email protected]>
  • Loading branch information
aaradhya-egov and jagankumar-egov authored Dec 27, 2024
1 parent 0113cea commit 002f3e7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion micro-ui/web/micro-ui-internals/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
})();
Expand Down
2 changes: 1 addition & 1 deletion micro-ui/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion micro-ui/web/sandbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 002f3e7

Please sign in to comment.