Skip to content

Commit

Permalink
set isSubEvent and isWcaEvent default values to false on frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
big213 committed May 22, 2021
1 parent dce1a42 commit 4ce913b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/models/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,13 @@ export const Event = <RecordInfo<'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',
Expand Down

0 comments on commit 4ce913b

Please sign in to comment.