diff --git a/packages/sp/clientside-pages/types.ts b/packages/sp/clientside-pages/types.ts index 06c6a4eb9..129c4b63d 100644 --- a/packages/sp/clientside-pages/types.ts +++ b/packages/sp/clientside-pages/types.ts @@ -684,7 +684,8 @@ export class _ClientsidePage extends _SharePointQueryable implements IClientside } } - const section = this.getOrCreateSection(zoneIndex, layoutIndex, control.data.emphasis.zoneEmphasis || 0); + const zoneEmphasis = control.data?.emphasis?.zoneEmphasis ?? 0; + const section = this.getOrCreateSection(zoneIndex, layoutIndex, zoneEmphasis); const columns = section.columns.filter(c => c.order === sectionIndex); if (columns.length < 1) {