Skip to content

Commit

Permalink
updated mdms paths (#1968)
Browse files Browse the repository at this point in the history
  • Loading branch information
nipunarora-eGov authored Dec 3, 2024
1 parent 3af5290 commit 19b1a4e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1211,9 +1211,10 @@ export const UICustomizations = {
rolesForFilter: (props) => {
const userInfo = Digit.UserService.getUser();
const tenantId = Digit.ULBService.getCurrentTenantId();
const mdms_context_path = window?.globalConfigs?.getConfig("MDMS_V2_CONTEXT_PATH") || "mdms-v2";
return {
params: {},
url: "/mdms-v2/v2/_search", //mdms fetch from
url: `/${mdms_context_path}/v2/_search`, //mdms fetch from

body: {
MdmsCriteria: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -492,11 +492,12 @@ export const UICustomizations = {
},

rolesForFilter: (props) => {
const mdms_context_path = window?.globalConfigs?.getConfig("MDMS_V2_CONTEXT_PATH") || "mdms-v2";
const userInfo = Digit.UserService.getUser();
const tenantId = Digit.ULBService.getCurrentTenantId();
return {
params: {},
url: "/mdms-v2/v2/_search", //mdms fetch from
url: `/${mdms_context_path}/v2/_search`, //mdms fetch from

body: {
MdmsCriteria: {
Expand Down
2 changes: 1 addition & 1 deletion health/micro-ui/web/microplan/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"homepage": "/microplan-ui",
"dependencies": {
"@egovernments/digit-ui-libraries": "1.8.2-beta.8",
"@egovernments/digit-ui-libraries": "1.8.6",
"@egovernments/digit-ui-module-core": "1.8.11",
"@egovernments/digit-ui-module-utilities": "1.0.1-beta.23",
"@egovernments/digit-ui-react-components": "1.8.10",
Expand Down

0 comments on commit 19b1a4e

Please sign in to comment.