Skip to content

Commit

Permalink
added dss module
Browse files Browse the repository at this point in the history
  • Loading branch information
jagankumar-egov committed Mar 13, 2024
1 parent 510ccce commit 4e6186e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions micro-ui/web/packages/core/src/modules/registerRemotes.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default (queryClient) => {
registerApplication({
name: "Common",
app: () => import("common/CommonModule"),
activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/${userType}/common`, //change to userType here
activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/${userType}/payment`, //change to userType here
customProps: {
title: "Common Module is running on host",
queryClient,
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion micro-ui/web/packages/core/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = () => {
common: `common@${domain}/common-ui/remoteEntry.js`,
// pgr: `pgr@${domain}/pgr-ui/remoteEntry.js`,
// workbench : `workbench@${domain}/workbench-mfe/remoteEntry.js`,
// dss : `dss@${domain}/dss-ui/remoteEntry.js`,
dss : `dss@${domain}/dss-ui/remoteEntry.js`,
// measurement : `measurement@${domain}/measurement/remoteEntry.js`
},
shared: packageJson.dependencies,
Expand Down

0 comments on commit 4e6186e

Please sign in to comment.