From f207ae518bb30e40fc45cfe70670bcb85776e08e Mon Sep 17 00:00:00 2001 From: io53 Date: Tue, 26 Mar 2024 19:57:15 +0200 Subject: [PATCH] #401 show value in user settings format for alert current values --- src/components/AlertItem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AlertItem.js b/src/components/AlertItem.js index 33dd057..a077f8c 100644 --- a/src/components/AlertItem.js +++ b/src/components/AlertItem.js @@ -182,7 +182,7 @@ class AlertItem extends Component { {this.props.latestValue !== undefined &&
- {t("latest_measured_value").replace(/{(.*?)}/, getDisplayValue(this.props.type.toLowerCase(), this.props.latestValue))} {getUnit()} + {t("latest_measured_value").replace(/{(.*?)}/, getDisplayValue(this.props.type.toLowerCase(), uh.value(this.props.latestValue)))} {getUnit()}
}