We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bef8cb0 commit 47a54e2Copy full SHA for 47a54e2
1 file changed
packages/super-editor/src/editors/v1/core/presentation-editor/header-footer/HeaderFooterSessionManager.ts
@@ -1737,7 +1737,7 @@ export class HeaderFooterSessionManager {
1737
const headerIds = converter?.headerIds as { titlePg?: boolean } | undefined;
1738
const footerIds = converter?.footerIds as { titlePg?: boolean } | undefined;
1739
let titlePgEnabled = headerIds?.titlePg === true || footerIds?.titlePg === true;
1740
- if (this.#multiSectionIdentifier?.sectionTitlePg.has(sectionIndex)) {
+ if (this.#multiSectionIdentifier?.sectionTitlePg?.has(sectionIndex)) {
1741
titlePgEnabled = this.#multiSectionIdentifier.sectionTitlePg.get(sectionIndex) === true;
1742
}
1743
0 commit comments