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
  • Loading branch information
meteyou authored Nov 18, 2023
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
Expand Up @@ -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'
Expand Down

0 comments on commit 46c9d6f

Please sign in to comment.