Skip to content

Commit

Permalink
feat: add new left legend in value per hour of work
Browse files Browse the repository at this point in the history
  • Loading branch information
danilogomes committed Nov 1, 2023
1 parent ab1afb6 commit c431b84
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/spa/src/locales/en/teams.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@
"leadTimeP80YLabel": "Days",
"financialPerformance": "Financial Performance",
"financialPerformanceYLabel": "Amount",
"hoursPerPeriodMemberships": "Value per Hour of Work"
"hoursPerPeriodMemberships": "Value per Hour of Work",
"valueInReal": "Value per Hour - ( R$ )"
},
"actions": {
"edit": "Edit Team",
Expand Down
3 changes: 2 additions & 1 deletion app/spa/src/locales/pt/teams.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@
"leadTimeP80YLabel": "Days",
"financialPerformance": "Financial Performance",
"financialPerformanceYLabel": "Amount",
"hoursPerPeriodMemberships": "Value per Hour of Work"
"hoursPerPeriodMemberships": "Value per Hour of Work",
"valueInReal": "Value per Hour - ( R$ )"
},
"actions": {
"edit": "Editar Time",
Expand Down
2 changes: 1 addition & 1 deletion app/spa/src/pages/Teams/TeamDashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ const lineChartMembershipData = team?.memberships? team?.memberships?.map((membe
<ChartGridItem title={t("charts.hoursPerPeriodMemberships")}>
<LineChart
data={lineChartMembershipData}
axisLeftLegend={t("charts.hoursPerPeriodMemberships")}
axisLeftLegend={t("charts.valueInReal")}

props={{

Expand Down

0 comments on commit c431b84

Please sign in to comment.