[Metrics UI] Fixing chart label for ungrouped alerts (#66444)
This commit is contained in:
parent
9ab0ad16ef
commit
2b47605255
|
@ -265,8 +265,8 @@ export const ExpressionChart: React.FC<Props> = ({
|
||||||
<EuiText size="xs" color="subdued">
|
<EuiText size="xs" color="subdued">
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id="xpack.infra.metrics.alerts.dataTimeRangeLabel"
|
id="xpack.infra.metrics.alerts.dataTimeRangeLabel"
|
||||||
defaultMessage="Last 20 {timeLabel}"
|
defaultMessage="Last {lookback} {timeLabel}"
|
||||||
values={{ timeLabel }}
|
values={{ timeLabel, lookback: timeSize * 20 }}
|
||||||
/>
|
/>
|
||||||
</EuiText>
|
</EuiText>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in a new issue