Skip to content

Commit

Permalink
fix: fix theme issue in tempchart
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Dej <[email protected]>
  • Loading branch information
meteyou committed Dec 23, 2023
1 parent 0783b4e commit 675b6f3
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 @@ -277,7 +277,7 @@ export default class TempChart extends Mixins(BaseMixin, ThemeMixin) {
if (datasets.length) {
let outputTime = datasets[0]['axisValueLabel']
outputTime = outputTime.substring(outputTime.indexOf(' '))
let theme = $vuetify.theme.dark ? 'theme-dark' : ''
const theme = this.$vuetify.theme.dark ? 'theme-dark' : ''
output +=
'<div class="row">' +
Expand Down

0 comments on commit 675b6f3

Please sign in to comment.