Skip to content

Commit

Permalink
added defaults for section summary (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
martyncolmer authored Mar 3, 2022
1 parent fdfa955 commit 16cbcf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/eq_schema/schema/Section/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ class Section {
}

this.summary = {
show_on_completion: section.sectionSummary,
collapsible: section.collapsibleSummary,
show_on_completion: section.sectionSummary || false,
collapsible: section.collapsibleSummary || false,
};
}
}
Expand Down

0 comments on commit 16cbcf2

Please sign in to comment.