Skip to content

Commit

Permalink
[MDS-6188] Implement status changes. (#3264)
Browse files Browse the repository at this point in the history
implement status changes.
  • Loading branch information
henryoforeh-dev authored Oct 15, 2024
1 parent fe6783f commit e6082d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const ProjectStagesTable: FC<ProjectStagesTableProps> = ({ projectStages
projectStages.map((stage) => ({
key: stage.key,
project_stage: stage.title,
stage_status: stage.status,
stage_status: stage.status === "ASG" ? "SUB" : stage.status,
stage_status_hash: stage.statusHash,
stage_required: stage.required,
navigate_forward: stage.navigateForward,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ export const ProjectSummaryPage = () => {

let status_code = projectSummary.status_code;
let is_historic = projectSummary.is_historic;
if (!status_code || !isEditMode) {
if (status_code === "CHR") {
status_code = "UNR";
} else if (!status_code || !isEditMode) {
status_code = "DFT";
} else if (!newActiveTab) {
status_code = "SUB";
Expand Down

0 comments on commit e6082d2

Please sign in to comment.