|
@ -2,7 +2,6 @@ import { createAsyncThunk, createSelector, createSlice, PayloadAction } from '@r |
|
|
import { KTJOrg, RailType } from '../../services/apiTypes'; |
|
|
import { KTJOrg, RailType } from '../../services/apiTypes'; |
|
|
import { labeledKtjOrgs } from '../../utils/helper'; |
|
|
import { labeledKtjOrgs } from '../../utils/helper'; |
|
|
|
|
|
|
|
|
import { ktjOrgs } from '../../utils/constant'; |
|
|
|
|
|
import Bridge from '../../utils/bridge'; |
|
|
import Bridge from '../../utils/bridge'; |
|
|
import { RootState } from '..'; |
|
|
import { RootState } from '..'; |
|
|
import { SyncBaseStatus } from '../../services/mobileWsType'; |
|
|
import { SyncBaseStatus } from '../../services/mobileWsType'; |
|
@ -15,7 +14,7 @@ interface BaseDataState { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const initialState: BaseDataState = { |
|
|
const initialState: BaseDataState = { |
|
|
ktjOrgs: ktjOrgs as KTJOrg[], |
|
|
|
|
|
|
|
|
ktjOrgs: [], |
|
|
railTypes: [], |
|
|
railTypes: [], |
|
|
// syncingBaseData: false,
|
|
|
// syncingBaseData: false,
|
|
|
syncBaseProgress: { |
|
|
syncBaseProgress: { |
|
|