Fix null content bug

This commit is contained in:
Chloe Herd 2026-05-21 11:50:14 -04:00
parent b65216c373
commit 4aaafd5bde

View file

@ -60,6 +60,10 @@ export default {
instructionBlocks() {
const answers = this.getCmsContent(this.cmsWidgetName, "Answers");
if (!answers) {
return [];
}
const instructionBlocksRaw = answers.map((ans) => ans.Text);
const instructionBlocksAsTokens = instructionBlocksRaw.map((raw) =>