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