Skip to content

Commit

Permalink
updated master data + bugs related to master data
Browse files Browse the repository at this point in the history
  • Loading branch information
nipunarora-eGov committed Oct 10, 2024
1 parent b82b6fc commit e707c8c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ const SetupMicroplan = ({ hierarchyType, hierarchyData }) => {
<React.Fragment>
<Stepper
customSteps={[
"HCM_CAMPAIGN_SETUP_DETAILS",
"MP_CAMPAIGN_SETUP_DETAILS",
"MICROPLAN_DETAILS",
"MP_BOUNDARY_SELECTION",
"MP_MANAGING_DATA",
Expand All @@ -259,13 +259,13 @@ 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" && (
<ActionBar style={{ zIndex: "19" }}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit e707c8c

Please sign in to comment.