fix: fix theme issue in tempchart (#1706)

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej 2023-12-25 23:32:04 +01:00 committed by GitHub
parent 3108389759
commit 4743eff42e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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">' +