Skip to content

Commit

Permalink
updated name
Browse files Browse the repository at this point in the history
  • Loading branch information
nipunarora-eGov committed Mar 19, 2024
1 parent f1e2f35 commit dfcf022
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
60 changes: 30 additions & 30 deletions micro-ui/web/packages/core/src/modules/registerRemotes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
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 @@ -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`
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
/*
Expand Down

0 comments on commit dfcf022

Please sign in to comment.