From 16cbcf28e4c5508e57ec97f86f602d9b4224e88d Mon Sep 17 00:00:00 2001 From: Martyn Colmer <46242834+martyncolmer@users.noreply.github.com> Date: Thu, 3 Mar 2022 14:35:01 +0000 Subject: [PATCH] added defaults for section summary (#82) --- src/eq_schema/schema/Section/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/eq_schema/schema/Section/index.js b/src/eq_schema/schema/Section/index.js index a9760fb9..8c1048a8 100644 --- a/src/eq_schema/schema/Section/index.js +++ b/src/eq_schema/schema/Section/index.js @@ -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, }; } }