Merge remote-tracking branch 'origin/sub_laptop_4' into main_laptop_1
This commit is contained in:
@@ -244,13 +244,13 @@ export function createMain(isAdmin: boolean, onSaved?: () => void): MainHandle {
|
||||
)
|
||||
: got.문서;
|
||||
if (mine !== seq) return;
|
||||
// 구조물 도면 · 산출근거는 열 id 로 열리니 머리에 도번 · 표번을 함께 보임
|
||||
// 구조물 도면 · 산출근거는 열 id 로 열리니 머리 맨 앞에 도번 · 표번(「SD010101 돌기슭막이 …」)
|
||||
if (next.kind === "structure") {
|
||||
const number = (got.문서 as StructureDoc)?.도번;
|
||||
if (number) title.textContent = `${number} · ${next.label ?? next.name}`;
|
||||
if (number) title.textContent = `${number} ${next.label ?? next.name}`;
|
||||
} else if (next.kind === "basis") {
|
||||
const number = (got.문서 as { 표번?: string })?.표번;
|
||||
if (number) title.textContent = `${number} · ${next.label ?? next.name}`;
|
||||
if (number) title.textContent = `${number} ${next.label ?? next.name}`;
|
||||
}
|
||||
await mount(shown, next);
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user