Skip to content

Commit d429049

Browse files
committed
fix: show the first section in PortalSubSection if configured
1 parent d829894 commit d429049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/projects/detail/components/PortalSubSection.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const PortalSubSection = ({
2929
}) => (
3030
<div>
3131
{content.map(({ sectionIndex }) => {
32-
if (sectionIndex && sectionIndex !== -1 && template && template.sections[sectionIndex]) {
32+
if (sectionIndex !== -1 && template && template.sections[sectionIndex]) {
3333
const section = template.sections[sectionIndex]
3434
return (
3535
<SpecSection

0 commit comments

Comments
 (0)