From ea227411536713ca4485ac88e30b375ed0bee0bb Mon Sep 17 00:00:00 2001 From: Malte Delfs Date: Tue, 3 Aug 2021 12:45:19 +0200 Subject: [PATCH] fixed #398 --- pages/[user]/book.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/[user]/book.tsx b/pages/[user]/book.tsx index 36cac26c01..58a3e56b06 100644 --- a/pages/[user]/book.tsx +++ b/pages/[user]/book.tsx @@ -65,7 +65,7 @@ export default function Book(props: any): JSX.Element { const data = event.target["custom_" + input.id]; if (data) { if (input.type === EventTypeCustomInputType.Bool) { - return input.label + "\n" + (data.value ? "Yes" : "No"); + return input.label + "\n" + (data.checked ? "Yes" : "No"); } else { return input.label + "\n" + data.value; }