260722_01_ENH: 버그 수정 및 개선 사항 수정
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
import { StorageKeys } from "@/store/storage/storage-keys";
|
||||
import { createPersistentAtom } from "@kri/common/jotai";
|
||||
import { sessionJsonStorage } from "@/store/storage/secure-storage";
|
||||
import {SurveyType} from "@/types/project";
|
||||
|
||||
export type SelectedProject = {
|
||||
prjctIdx: number;
|
||||
@@ -12,7 +11,6 @@ export type SelectedProject = {
|
||||
itrntPrjctCd: string;
|
||||
ownerDept: string;
|
||||
ownerFw: string;
|
||||
surveyTy: SurveyType;
|
||||
ff: boolean;
|
||||
};
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@ export const StorageKeys = {
|
||||
SelectedProject: "kri:selectedProject",
|
||||
ItrntUserList:"kri:itrntUserList",
|
||||
LastListVisit: "kri:lastListVisit",
|
||||
CtiState: "kri:ctiState",
|
||||
//SidebarCollapsed: "kri:sidebarCollapsed",
|
||||
// 필요하면 여기 계속 추가
|
||||
} as const;
|
||||
@@ -12,6 +13,7 @@ export const StorageType: Record<StorageKey, "local" | "session"> = {
|
||||
[StorageKeys.SelectedProject]: "session",
|
||||
[StorageKeys.ItrntUserList]: "session",
|
||||
[StorageKeys.LastListVisit]: "session",
|
||||
[StorageKeys.CtiState]: "local",
|
||||
};
|
||||
|
||||
export type StorageKey = (typeof StorageKeys)[keyof typeof StorageKeys];
|
||||
export type StorageKey = (typeof StorageKeys)[keyof typeof StorageKeys];
|
||||
|
||||
Reference in New Issue
Block a user