Remove double-format for duration value. (#30664)
This commit is contained in:
parent
e60d6d119d
commit
139b0d512d
1 changed files with 1 additions and 2 deletions
|
@ -58,8 +58,7 @@ export const MonitorStatusBar = ({ timestamp, url, duration, status }: Props) =>
|
|||
>
|
||||
<FormattedMessage
|
||||
id="xpack.uptime.monitorStatusBar.healthStatus.durationInMillisecondsMessage"
|
||||
// TODO: this should not be computed inline
|
||||
values={{ duration: duration ? duration / 1000 : 0 }}
|
||||
values={{ duration: duration ? duration : 0 }}
|
||||
defaultMessage="{duration}ms"
|
||||
description="The 'ms' is an abbreviation for 'milliseconds'."
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue