260115_02_ENH : 로그인 오류 수정 및 템플릿 생성 연동 완료

This commit is contained in:
2026-01-15 11:36:01 +09:00
parent 7e7b494389
commit 431513c195
34 changed files with 823 additions and 103 deletions

View File

@@ -5,8 +5,9 @@ import {createSessionStorageAtom} from "@/store/jotai/utils";
export type SelectedProject = {
prjctIdx: number;
prjctCd: string
prjctCd: string;
prjctName: string;
itrntPrjctCd: string;
ownerDept: string;
ownerFw: string;
};

View File

@@ -55,17 +55,7 @@ export const createLocalStorageAtom = <T>(
// 사용자 쓰기 발생 표시 (하이드레이션이 도착해도 무시하도록)
wasOverridden = true;
// 값이 초기값과 동일하면 키 제거로 처리하여 '비움'을 명확히 함
const isInitial = (() => {
try {
return JSON.stringify(next) === JSON.stringify(realInitialValue);
} catch {
// 비교 실패 시 보수적으로 저장하도록 함
return false;
}
})();
if (isInitial) {
if (next === null || (next as unknown) === undefined) {
// 암호화 localStorage 및 캐시 제거
removeLocalStorage(key);
} else {