diff --git a/frontend/src/app/llm-workspace/section-configurator/section-configurator.component.ts b/frontend/src/app/llm-workspace/section-configurator/section-configurator.component.ts index f16fb51..99febd4 100644 --- a/frontend/src/app/llm-workspace/section-configurator/section-configurator.component.ts +++ b/frontend/src/app/llm-workspace/section-configurator/section-configurator.component.ts @@ -232,12 +232,9 @@ export class SectionConfiguratorComponent implements OnInit { slug: s.slug, selected: true, customNotes: '', - selectedPattern: s.patterns?.length ? null : null, + selectedPattern: s.patterns?.length ? s.patterns[0].title : null, customPatternDesc: '', })); - if (this.currentSection && this.currentSectionPatterns.length > 0) { - this.currentSection.selectedPattern = this.currentSectionPatterns[0].title; - } } get currentSection(): SelectedSection | null {