fix(388-3 보안): 세션 넘침 안내 — 화면 모듈을 안에서만 가져옴
- b_page_state 맨 위 로케일 가져오기가 이 파일을 Node 로 돌리는 시험(346-4 등)을 깨던 것 - 넘침 안내 때만 토스트 · 로케일을 함께 동적으로 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VmC34fsxxbweEG3RUjs3Mn
This commit is contained in:
@@ -45,11 +45,10 @@ function fakeStorage(limit = Infinity) {
|
||||
global.window = { sessionStorage: fakeStorage(), localStorage: fakeStorage() };
|
||||
|
||||
const toasts = [];
|
||||
const pageState = load("A00_Common/b_page_state.ts", (id) =>
|
||||
id.includes("ui_template_locale")
|
||||
? { t: (key) => key }
|
||||
: { showToast: (msg, kind) => toasts.push([msg, kind]) },
|
||||
);
|
||||
const pageState = load("A00_Common/b_page_state.ts", () => ({
|
||||
t: (key) => key,
|
||||
showToast: (msg, kind) => toasts.push([msg, kind]),
|
||||
}));
|
||||
const purged = [];
|
||||
const config = { CURRENT_PROJECT_ID_KEY: "frd_current_project_id" };
|
||||
const sw = load("A00_Common/b_project_switch.ts", (id) => {
|
||||
|
||||
Reference in New Issue
Block a user