fix(476-2 추천 초기 종단): 그림이 비면 범례도 안 붙임

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-19 16:26:35 +09:00
co-authored by Claude Opus 5.5
parent f3322d1575
commit 84e9fddcf8
@@ -443,9 +443,9 @@ export function openRecommendModal(params: RecommendParams): void {
line("initial").textContent = initialLine(initial);
line("initial").classList.toggle("is-warn", !!initial && "error" in initial);
line("initial").hidden = !initial;
const svg = profileSvg(balance, initialShape);
line("profile").innerHTML =
profileSvg(balance, initialShape) +
profileLegend(!!balance?.planM.length, !!initialShape);
svg && svg + profileLegend(!!balance?.planM.length, !!initialShape);
line("profile").hidden = !balance && !initialShape;
line("candidates").innerHTML = candidatesTable([...seen]);
line("candidates").hidden = seen.size === 0;