fix(859-8): 불러오기 [내 일위대가로] 뒤 왼쪽 일위대가 목록 · [구조물 조합으로] 바로 뜸

- 만든 SC 키를 호표 머리(만든)에 적고 HOPYO_BUILT 알림 — 전에는 페이지를 다시 열어야 목록 · 단추가 뜸

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-19 01:08:10 +09:00
co-authored by Claude Opus 5.5
parent 63be153903
commit 5693aa2cf9
@@ -15,7 +15,7 @@ import {
} from "@ui/ui_template_elements";
import { t as L } from "@ui/ui_template_locale";
import { call } from "./M02_MasterTemplete_Api_Fetch";
import { at, type HopyoBrief, type HopyoScope } from "./M02_MasterTemplete_Hopyo_Api";
import { at, HOPYO_BUILT, type HopyoBrief, type HopyoScope } from "./M02_MasterTemplete_Hopyo_Api";
interface MineReply {
만듦: { 번: number; 키: string; 남은줄?: number }[];
@@ -47,6 +47,8 @@ export function mineButton(scope: HopyoScope, key: string, h: HopyoBrief): HTMLE
);
const made = got.만듦.find((x) => x.번 === h.번);
if (!made) throw new Error(got.실패.map((x) => x.까닭).join(" · ") || "실패");
h.만든 = made.키; // [수정] 창 [구조물 조합으로] · 칠 — 다시 열지 않아도
document.dispatchEvent(new Event(HOPYO_BUILT)); // 왼쪽 일위대가 목록 · 엑셀 칠 다시 읽음
const same = got.다름.some((x) => x.번 === h.번) ? "다름" : "같음";
const text = L("M02_ToMyScDone")
.replace("{k}", made.키)