Skip to content

Commit

Permalink
correctly label dewpoint as humidity #452
Browse files Browse the repository at this point in the history
  • Loading branch information
io53 committed Dec 11, 2024
1 parent 09e1e70 commit 6db4f50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SensorTypePicker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default function SensorTypePicker(props) {
label = t(getUnitHelper(sensorType).label) + " (" + t("humidity_absolute_name") +")"
}
else if (sensorType === "humidity" && unit?.cloudStoreKey === "2") {
label = t(unit.translationKey) + " (" + t(getUnitHelper("temperature").unit) + ")"
label = t(getUnitHelper(sensorType).label) + " (" +t(unit.translationKey) + " (" + t(getUnitHelper("temperature").unit) + "))"
}
else {
label = t(getUnitHelper(sensorType).label) + (unit ? ` (${t(unit.translationKey)})` : "")
Expand Down

0 comments on commit 6db4f50

Please sign in to comment.