mirror of
https://github.com/filamentphp/filament.git
synced 2026-10-30 18:42:45 +08:00
chore: fix code style
This commit is contained in:
committed by
github-actions[bot]
parent
5abab03855
commit
c6366edc56
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user