fix: AppState 타입에 currentUserMobile 선언 추가 및 initializeAppDirectly 인자 누락 오류 수정
All checks were successful
ITAM Code Check / build-and-config-check (push) Successful in 11s
ITAM Docker Build Check / docker-build-check (push) Successful in 16s

This commit is contained in:
이태훈
2026-07-02 15:51:53 +09:00
parent 0e88be4755
commit f22e27b14a
2 changed files with 293 additions and 291 deletions

View File

@@ -9,6 +9,7 @@ export interface AppState {
masterData: MasterAssetData;
activeCharts: any[];
currentUserRole: 'admin' | 'user';
currentUserMobile?: string;
listFilters?: Record<string, any>;
}
@@ -19,6 +20,7 @@ export const state: AppState = {
viewMode: 'location',
activeCharts: [],
currentUserRole: 'user',
currentUserMobile: '',
listFilters: {},
masterData: {
users: [],

View File

@@ -385,7 +385,7 @@ function showLoginScreen(errorMessage?: string) {
if (payload.status === 'authenticated') {
clearPhonePollTimer();
initializeAppDirectly();
initializeAppDirectly(loginId);
return;
}