Skip to content

Commit

Permalink
add deprecated list to reason options
Browse files Browse the repository at this point in the history
  • Loading branch information
wes-cutting committed Oct 19, 2023
1 parent 475f003 commit 8737437
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,15 @@ export class ProgressReportVarianceExplanationReasonOptions extends DataObject {
return new JsonSet([...this.behind, ...this.onTime, ...this.ahead]);
}

// Deprecrated items need to remain in both lists in order to render them properly, UI should disable ability to select deprecated items
@Field(() => [String])
readonly deprecated: ReadonlySet<string> = new JsonSet([
'Delayed activities; activities did not occur; slow start of project',
]);

@Field(() => [String])
readonly behind: ReadonlySet<string> = new JsonSet([
'Delayed activities; activities did not occur; slow start of project',
'Team is being trained at start of project; they expect to catch up by end of project',
'Delayed hiring and/or replacement of personnel',
'Economic/political/civil instability or unrest',
Expand Down

0 comments on commit 8737437

Please sign in to comment.