diff --git a/frontend/src/routes/study/topics/[id]/questions/new/+page.svelte b/frontend/src/routes/study/topics/[id]/questions/new/+page.svelte index 92fcfcb..37cbc9f 100644 --- a/frontend/src/routes/study/topics/[id]/questions/new/+page.svelte +++ b/frontend/src/routes/study/topics/[id]/questions/new/+page.svelte @@ -203,15 +203,6 @@ f_qnum = found.next_question_number; } } - // FIX: 새 회차 시작 동선 — query 로 받은 회차명이 기존 examRounds 에 없으면 - // 신규 회차로 보고 mode='new' + new input 에 채움 (dropdown 에 옵션이 없어서 안 보이는 회귀 차단). - if (f_exam_round) { - const exists = examRounds.some((r) => r.exam_round === f_exam_round); - if (!exists) { - f_exam_round_mode = 'new'; - f_exam_round_new = f_exam_round; - } - } // 진입 시점은 사용자가 input 박스를 만진 적 없음 — false 로 reset. f_qnum_user_edited = false; // $effect 의 lastExamRound 를 현재 값으로 sync — 첫 실행이 또 reset 하지 않도록. @@ -481,6 +472,11 @@ {r.exam_round} ({r.question_count}{topicExamRoundSize ? `/${topicExamRoundSize}` : ''}) {/each} + + {#if f_exam_round && !examRounds.some((r) => r.exam_round === f_exam_round)} + + {/if}