Skip to content

Commit

Permalink
fix: fix wrong output in temp chart tooltip (#1646)
Browse files Browse the repository at this point in the history
meteyou authored Nov 18, 2023

Unverified

This user has not yet uploaded their public signing key.
1 parent 8f96faa commit 46c9d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/charts/TempChart.vue
Original file line number Diff line number Diff line change
@@ -319,7 +319,7 @@ export default class TempChart extends Mixins(BaseMixin) {
}
if (seriesNameTarget in dataset.value) {
output += ' / '
const value = dataset.value[seriesNameTemperature]
const value = dataset.value[seriesNameTarget]
output += value !== null ? value.toFixed(1) : '--'
}
output += '°C'

0 comments on commit 46c9d6f

Please sign in to comment.