fix(pages): Fix chart type detection

This commit is contained in:
syuilo 2020-04-19 09:09:38 +09:00
parent f817b9c73c
commit c1df3a723c

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