diff --git a/micro-ui/web/packages/core/src/modules/registerRemotes.js b/micro-ui/web/packages/core/src/modules/registerRemotes.js index 68799378c20..df5f9869ee6 100644 --- a/micro-ui/web/packages/core/src/modules/registerRemotes.js +++ b/micro-ui/web/packages/core/src/modules/registerRemotes.js @@ -9,16 +9,16 @@ 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({ @@ -35,7 +35,7 @@ export default (queryClient) => { // registerApplication({ // name: "PGR", // app: () => import("pgr/PGRModule"), - // activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/pgr`, + // activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/pgr/`, // customProps: { // title: "PGR is running on host", // queryClient, diff --git a/micro-ui/web/packages/core/webpack.prod.js b/micro-ui/web/packages/core/webpack.prod.js index 1b693896618..2f928b62684 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/pgr/src/PGRWrapper.js b/micro-ui/web/packages/pgr/src/PGRWrapper.js index 67d8b818582..94d01ff9f45 100644 --- a/micro-ui/web/packages/pgr/src/PGRWrapper.js +++ b/micro-ui/web/packages/pgr/src/PGRWrapper.js @@ -11,7 +11,7 @@ const App = ({ queryClient, title,userType }) => { return ( - + );