fix: AppState 타입에 currentUserMobile 선언 추가 및 initializeAppDirectly 인자 누락 오류 수정
This commit is contained in:
@@ -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: [],
|
||||
|
||||
@@ -385,7 +385,7 @@ function showLoginScreen(errorMessage?: string) {
|
||||
|
||||
if (payload.status === 'authenticated') {
|
||||
clearPhonePollTimer();
|
||||
initializeAppDirectly();
|
||||
initializeAppDirectly(loginId);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user