Skip to content

Commit

Permalink
#12 Hide Undefined section in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
tscz committed Jan 17, 2020
1 parent d0757f0 commit 83ea346
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/sectionSelect/sectionSelect.tsx
Expand Up @@ -24,7 +24,9 @@ const SectionSelect: FunctionComponent<{
}}
>
{Object.values(SectionType).map(sectionType => {
return (
return sectionType === SectionType.UNDEFINED ? (
undefined
) : (
<MenuItem
key={sectionType}
value={sectionType}
Expand Down

0 comments on commit 83ea346

Please sign in to comment.