-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MDS-6179] Refactored ProjectOverviewTab.js to a functional Typescrip…
…t Component (#3253) * Refactored ProjectOverviewTab.js to a functional Typescript component. This process seems to have fixed the issue. * added refetch of project if the projectSummary has been cleared from the store (this happens deliberately while backing out of viewing a detailed project summary as it prevents another bug where the state is incorrectly persisted. * update snap * update imports and interface * reorder useSelectors and other logic in ProjectManagement.tsx * reorder useSelectors and other logic in ProjectManagement.tsx * reorder useSelectors and other logic in ProjectManagement.tsx * move isFeatureEnabled out of render function * fixed optional chaining * fixed optional chaining * updated projectFormTabs usage
- Loading branch information
1 parent
95e97e1
commit 21acc0c
Showing
14 changed files
with
785 additions
and
497 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,7 @@ export const CONTACT_ADMIN = [ | |
]; | ||
export const MMO_EMAIL = "[email protected]"; | ||
export const EMPTY_FIELD = "N/A"; | ||
export const UNKNOWN = "Unknown"; | ||
export const EMPTY = ""; | ||
export const ZERO = "0.00"; | ||
export const UNASSIGNED = "Unassigned"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
services/common/src/interfaces/projects/projectStage.interface.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { IProjectSummary } from "@mds/common/interfaces"; | ||
|
||
export interface IProjectStage { | ||
title: string; | ||
key: string; | ||
status: string; | ||
payload: IProjectSummary; | ||
statusHash: any; | ||
required: boolean; | ||
navigateForward: (source: string, status: string) => void; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.