1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-11-24 23:26:17 +09:00

fix(pages): Fix chart type detection

This commit is contained in:
syuilo 2020-04-19 09:09:38 +09:00
parent 8d39283d46
commit 72271d905d

View File

@ -123,7 +123,7 @@ export class ASEvaluator {
chartArea: {
backgroundColor: '#fff'
},
...(opts.value.get('type').value === 'rader' ? {
...(opts.value.get('type').value === 'radar' ? {
scale: {
ticks: {
beginAtZero: opts.value.has('begin_at_zero') ? opts.value.get('begin_at_zero') : false