From 1ad839a0137516c6fb2546f60f959d37ef88049a Mon Sep 17 00:00:00 2001 From: Krrish Ghimire Date: Wed, 22 Jul 2026 19:16:13 +0545 Subject: [PATCH] select default options for each sections --- .../section-configurator/section-configurator.component.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 {