Skip to content

Commit

Permalink
#401 show value in user settings format for alert current values
Browse files Browse the repository at this point in the history
  • Loading branch information
io53 committed Mar 26, 2024
1 parent 54600a8 commit f207ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AlertItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class AlertItem extends Component {
{this.props.latestValue !== undefined &&
<div style={{ ...editItemMargins, display: "flex", justifyContent: "flex-end" }}>
<span style={{ ...this.props.detailedSubText, opacity: 0.5 }}>
{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()}
</span>
</div>
}
Expand Down

0 comments on commit f207ae5

Please sign in to comment.