Skip to content

Commit

Permalink
Merge pull request #220 from wri/fit/TM-938-site-project-workdays
Browse files Browse the repository at this point in the history
[TM-938] Include the self-reported numbers in the project/site high level metrics
  • Loading branch information
roguenet authored May 29, 2024
2 parents 7b0687c + d18ae24 commit 883d999
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ const HighLevelMetics: FC = () => {
<Labeled label="Workdays Created" sx={inlineLabelSx}>
<NumberField source="workday_count" emptyText="0" />
</Labeled>
<Labeled label="Self Reported Workdays Created" sx={inlineLabelSx}>
<NumberField source="self_reported_workday_count" emptyText="0" />
</Labeled>
</When>
<Labeled label="Trees Planted" sx={inlineLabelSx}>
<NumberField source="trees_planted_count" emptyText="0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ const HighLevelMetics: FC = () => {
<Labeled label="Total Number Of Workdays Created" sx={inlineLabelSx}>
<NumberField source="workday_count" emptyText="0" />
</Labeled>
<Labeled label="Self Reported Workdays Created" sx={inlineLabelSx}>
<NumberField source="self_reported_workday_count" emptyText="0" />
</Labeled>
</When>
<Labeled label="Total Number Of Trees Planted" sx={inlineLabelSx}>
<NumberField source="trees_planted_count" emptyText="0" />
Expand Down

0 comments on commit 883d999

Please sign in to comment.