Skip to content

Commit

Permalink
[1.0.11]
Browse files Browse the repository at this point in the history
- added support for dynamic locale in workbench module with key CORE_UI_MODULE_LOCALE_PREFIX
  • Loading branch information
jagankumar-egov authored Nov 22, 2024
1 parent f04216f commit abe90e6
Show file tree
Hide file tree
Showing 6 changed files with 10 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 @@ -10,7 +10,7 @@
},
"devDependencies": {
"@egovernments/digit-ui-libraries": "1.8.4",
"@egovernments/digit-ui-module-workbench": "1.0.10",
"@egovernments/digit-ui-module-workbench": "1.0.11",
"@egovernments/digit-ui-module-pgr": "1.8.10",
"@egovernments/digit-ui-module-dss": "1.8.10",
"@egovernments/digit-ui-module-core": "1.8.10",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

## [1.0.11]
- added support for dynamic locale in workbench module with key CORE_UI_MODULE_LOCALE_PREFIX

## [1.0.3]
- Fixed the module stablity & new components integrated

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@egovernments/digit-ui-module-workbench",
"version": "1.0.10",
"version": "1.0.11",
"description": "Workbench",
"main": "dist/index.js",
"module": "dist/index.modern.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ const WorkbenchModule = ({ stateCode, userType, tenants }) => {
const moduleCode = ["workbench","mdms","schema","hcm-admin-schemas"];
const { path, url } = useRouteMatch();
const language = Digit.StoreData.getCurrentLanguage();
const modulePrefix = window?.globalConfigs?.getConfig("CORE_UI_MODULE_LOCALE_PREFIX") || "rainmaker";

const { isLoading, data: store } = Digit.Services.useStore({
stateCode,
moduleCode,
language,
modulePrefix
});

if (isLoading) {
return <Loader />;
}
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 @@ -15,7 +15,7 @@
"homepage": "/digit-ui",
"dependencies": {
"@egovernments/digit-ui-libraries": "1.8.4",
"@egovernments/digit-ui-module-workbench": "1.0.10",
"@egovernments/digit-ui-module-workbench": "1.0.11",
"@egovernments/digit-ui-module-pgr": "1.8.10",
"@egovernments/digit-ui-module-dss": "1.8.10",
"@egovernments/digit-ui-module-core": "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 @@ -20,7 +20,7 @@
"homepage": "/sandbox-ui",
"dependencies": {
"@egovernments/digit-ui-libraries": "1.8.4",
"@egovernments/digit-ui-module-workbench": "1.0.10",
"@egovernments/digit-ui-module-workbench": "1.0.11",
"@egovernments/digit-ui-module-pgr": "1.8.10",
"@egovernments/digit-ui-module-dss": "1.8.10",
"@egovernments/digit-ui-module-core": "1.8.10",
Expand Down

0 comments on commit abe90e6

Please sign in to comment.