diff --git a/eq-author/src/components/RichTextEditor/PipingMenu.js b/eq-author/src/components/RichTextEditor/PipingMenu.js index c26b61a90f..93e505bd4d 100644 --- a/eq-author/src/components/RichTextEditor/PipingMenu.js +++ b/eq-author/src/components/RichTextEditor/PipingMenu.js @@ -121,7 +121,10 @@ const PipingMenu = ({ if ( allSupplementaryData && - !(pageType === "Introduction" && questionnaire.sections[0].repeatingSection) + !( + pageType === "Introduction" && + questionnaire?.sections[0]?.repeatingSection + ) ) { allSupplementaryData = allSupplementaryData.filter( (list) => list.listName === "" || list.id === listId