From 4ce913b8b6c8bc1416aa8da9e75b2f3a0f5c8767 Mon Sep 17 00:00:00 2001 From: James Chang Date: Sat, 22 May 2021 18:18:20 -0400 Subject: [PATCH] set isSubEvent and isWcaEvent default values to false on frontend --- frontend/models/event.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/models/event.ts b/frontend/models/event.ts index b6731fa..ee2b772 100644 --- a/frontend/models/event.ts +++ b/frontend/models/event.ts @@ -44,11 +44,13 @@ export const Event = >{ text: 'Sub Event', inputType: 'switch', parseQueryValue: (val) => val === 'true', + default: () => false, }, isWcaEvent: { text: 'WCA Event', inputType: 'switch', parseQueryValue: (val) => val === 'true', + default: () => false, }, createdAt: { text: 'Created At',