diff --git a/src/js-components/previewBar.ts b/src/js-components/previewBar.ts index f9fa1087..6123715f 100644 --- a/src/js-components/previewBar.ts +++ b/src/js-components/previewBar.ts @@ -367,6 +367,8 @@ class PreviewBar { this.firstTimeSetupChapterSection(newSection); this.customChaptersBar.appendChild(newSection); + } else if (createFromScratch) { + this.firstTimeSetupChapterSection(newSection); } this.setupChapterSection(newSection, chapter[0], chapter[1], i !== chaptersToRender.length - 1);