From dfcf022f046eb50fc1311625bac655a553c1b924 Mon Sep 17 00:00:00 2001 From: Nipun Arora Date: Tue, 19 Mar 2024 12:10:11 +0530 Subject: [PATCH] updated name --- .../core/src/modules/registerRemotes.js | 60 +++++++++---------- micro-ui/web/packages/core/webpack.prod.js | 2 +- .../workbench/src/components/DigitJSONForm.js | 2 +- 3 files changed, 32 insertions(+), 32 deletions(-) diff --git a/micro-ui/web/packages/core/src/modules/registerRemotes.js b/micro-ui/web/packages/core/src/modules/registerRemotes.js index b75cdf4dcda..e583ea6c00f 100644 --- a/micro-ui/web/packages/core/src/modules/registerRemotes.js +++ b/micro-ui/web/packages/core/src/modules/registerRemotes.js @@ -9,28 +9,28 @@ export default (queryClient) => { const userType = Digit.UserService.getType(); - // registerApplication({ - // name: "Workbench", - // app: () => import("workbench/WorkbenchModule"), - // activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/workbench`, - // customProps: { - // title: "Workbench is running on host", - // queryClient, - // userType - // }, - // }); + registerApplication({ + name: "Workbench", + app: () => import("workbench/WorkbenchModule"), + activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/workbench`, + customProps: { + title: "Workbench is running on host", + queryClient, + userType + }, + }); - // registerApplication({ - // name: "Common", - // app: () => import("common/CommonModule"), - // activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/${userType}/payment`, //change to userType here - // customProps: { - // title: "Common Module is running on host", - // queryClient, - // userType - // }, - // }); + registerApplication({ + name: "Common", + app: () => import("common/CommonModule"), + activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/${userType}/payment`, //change to userType here + customProps: { + title: "Common Module is running on host", + queryClient, + userType + }, + }); // registerApplication({ // name: "PGR", @@ -43,16 +43,16 @@ export default (queryClient) => { // }, // }); - // registerApplication({ - // name: "Dss", - // app: () => import("dss/DSSModule"), - // activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/dss`, - // customProps: { - // title: "DSS is running on host", - // queryClient, - // userType - // }, - // }); + registerApplication({ + name: "Dss", + app: () => import("dss/DSSModule"), + activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/dss`, + customProps: { + title: "DSS is running on host", + queryClient, + userType + }, + }); registerApplication({ name: "HRMS", diff --git a/micro-ui/web/packages/core/webpack.prod.js b/micro-ui/web/packages/core/webpack.prod.js index fb9d5ec6fe1..5f40666b82e 100644 --- a/micro-ui/web/packages/core/webpack.prod.js +++ b/micro-ui/web/packages/core/webpack.prod.js @@ -22,7 +22,7 @@ module.exports = () => { hrms: `hrms@${domain}/hrms-ui/remoteEntry.js`, common: `common@${domain}/common-ui/remoteEntry.js`, // pgr: `pgr@${domain}/pgr-ui/remoteEntry.js`, - // workbench : `workbench@${domain}/workbench-mfe/remoteEntry.js`, + workbench : `workbench@${domain}/workbench-mfe/remoteEntry.js`, dss : `dss@${domain}/dss-ui/remoteEntry.js`, // measurement : `measurement@${domain}/measurement/remoteEntry.js` }, diff --git a/micro-ui/web/packages/workbench/src/components/DigitJSONForm.js b/micro-ui/web/packages/workbench/src/components/DigitJSONForm.js index 76d8af0b5bc..65923df18cb 100644 --- a/micro-ui/web/packages/workbench/src/components/DigitJSONForm.js +++ b/micro-ui/web/packages/workbench/src/components/DigitJSONForm.js @@ -21,7 +21,7 @@ import { titleId } from "@rjsf/utils"; import CustomDropdown from "./MultiSelect"; import CustomDropdownV2 from "./MultiSelectV2"; -import CustomCheckbox from "./Checbox"; +import CustomCheckbox from "./Checkbox"; import { BulkModal } from "./BulkModal"; /*