From c6366edc56458e835869dc8043ccd5a41cb1143b Mon Sep 17 00:00:00 2001 From: danharrin Date: Wed, 26 Jul 2023 22:41:46 +0000 Subject: [PATCH] chore: fix code style --- packages/widgets/resources/js/components/chart.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/widgets/resources/js/components/chart.js b/packages/widgets/resources/js/components/chart.js index 020af10193..d59587d13b 100644 --- a/packages/widgets/resources/js/components/chart.js +++ b/packages/widgets/resources/js/components/chart.js @@ -35,9 +35,7 @@ export default function chart({ cachedData, options, type }) { initChart: function (data = null) { Chart.defaults.animation.duration = 0 - const color = getComputedStyle( - this.$refs.colorElement, - ).color + const color = getComputedStyle(this.$refs.colorElement).color Chart.defaults.backgroundColor = color Chart.defaults.borderColor = color