Skip to content

Commit

Permalink
Add (per second) to chart title
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenlouv committed Aug 10, 2021
1 parent 8f4f227 commit e347c8d
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ export function ServiceOverviewThroughputChart({
'xpack.apm.serviceOverview.throughtputChartTitle',
{ defaultMessage: 'Throughput' }
)}
{data.throughputUnit === 'second'
? i18n.translate(
'xpack.apm.serviceOverview.throughtputPerSecondChartTitle',
{ defaultMessage: '(per second)' }
)
: ''}
</h2>
</EuiTitle>
</EuiFlexItem>
Expand Down

0 comments on commit e347c8d

Please sign in to comment.