From 72271d905d9ec1d47e683a6d161dea4fed0c056e Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 19 Apr 2020 09:09:38 +0900 Subject: [PATCH] fix(pages): Fix chart type detection --- src/client/scripts/aoiscript/evaluator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/scripts/aoiscript/evaluator.ts b/src/client/scripts/aoiscript/evaluator.ts index 446bab19fb..d34ab3dc26 100644 --- a/src/client/scripts/aoiscript/evaluator.ts +++ b/src/client/scripts/aoiscript/evaluator.ts @@ -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