Skip to content

Commit

Permalink
Display schedule status by summary numbers, not reason
Browse files Browse the repository at this point in the history
The varianceExplanation reason can override the status on that object.
We probably don't want that here.
  • Loading branch information
CarsonF committed Oct 16, 2024
1 parent f5a35cf commit 7298a4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const ProgressReportsColumnMap = {
...enumColumn(ScheduleStatusList, ScheduleStatusLabels, {
orderByIndex: true,
}),
valueGetter: (_, row) => row.varianceExplanation.scheduleStatus,
valueGetter: (_, row) => row.cumulativeSummary?.scheduleStatus,
},
cumulativeSummary: {
headerName: 'Cumulative Progress',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ fragment progressReportsDataGridRow on ProgressReport {
value
}
varianceExplanation {
scheduleStatus
reasons {
value
}
Expand All @@ -43,6 +42,7 @@ fragment progressReportsDataGridRow on ProgressReport {
planned
actual
variance
scheduleStatus
}
teamNews {
items {
Expand Down

0 comments on commit 7298a4c

Please sign in to comment.