diff --git a/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/configs/SetupMicroplanConfig.js b/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/configs/SetupMicroplanConfig.js index 660937613fe..9ea8d84594a 100644 --- a/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/configs/SetupMicroplanConfig.js +++ b/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/configs/SetupMicroplanConfig.js @@ -17,10 +17,10 @@ export const MicroplanConfig = (totalFormData, dataParams, isSubmitting, summary component: "CampaignDetails", withoutLabel: true, disable: false, - showPopupOnSubmission: { - alertMessage: "ALERT_MESSAGE_CAMPAIGN", - alertHeader: "ALERT_HEADER_CAMPAIGN" - }, + // showPopupOnSubmission: { + // alertMessage: "ALERT_MESSAGE_CAMPAIGN", + // alertHeader: "ALERT_HEADER_CAMPAIGN" + // }, customProps: { module: "HCM", sessionData: totalFormData, diff --git a/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/pages/employee/SetupMicroplan.js b/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/pages/employee/SetupMicroplan.js index 585af9bd5f2..d770fb3c5c0 100644 --- a/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/pages/employee/SetupMicroplan.js +++ b/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/pages/employee/SetupMicroplan.js @@ -238,7 +238,7 @@ const SetupMicroplan = ({ hierarchyType, hierarchyData }) => { { })} onSubmit={onSubmit} showSecondaryLabel={true} - secondaryLabel={t("HCM_BACK")} + secondaryLabel={t("MP_BACK")} actionClassName={"actionBarClass"} className="setup-campaign" cardClassName="setup-campaign-card" noCardStyle={true} onSecondayActionClick={onSecondayActionClick} - label={t("HCM_NEXT")} + label={t("MP_NEXT")} /> {/* {actionBar === "true" && ( diff --git a/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/pages/employee/index.js b/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/pages/employee/index.js index 06dea12bb16..8dcb2c4a64b 100644 --- a/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/pages/employee/index.js +++ b/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/pages/employee/index.js @@ -42,7 +42,7 @@ const App = ({ path, stateCode, userType, tenants,BOUNDARY_HIERARCHY_TYPE, hiera "hcm-microplanning", [ { name: "MicroplanNamingConvention" }, - { name: "MicroplanNamingRegx" }, + { name: "MicroplanNamingRegex" }, { name: "ResourceDistributionStrategy"}, { name: "HypothesisAssumptions"}, { name: "RuleConfigureOutput" }, diff --git a/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/utils/utilities.js b/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/utils/utilities.js index d4989d0f1d8..19c688419c2 100644 --- a/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/utils/utilities.js +++ b/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/utils/utilities.js @@ -58,8 +58,8 @@ const formValidator = (formData, key, state) => { const microplanDetailsValidator = () => { function validateName(name) { - const microplanNamingRegxString = state?.MicroplanNamingRegx?.[0]?.data; - const namePattern = new RegExp(microplanNamingRegxString); + const microplanNamingRegexString = state?.MicroplanNamingRegex?.[0]?.data; + const namePattern = new RegExp(microplanNamingRegexString); return namePattern.test(name); }