mirror of
https://github.com/alice-lg/alice-lg.git
synced 2024-05-11 05:55:03 +00:00
added dedicated routes reducer
This commit is contained in:
@ -3,26 +3,25 @@
|
||||
const LOCATION_CHANGE = '@@router/LOCATION_CHANGE'
|
||||
|
||||
const initialState = {
|
||||
received: [],
|
||||
filtered: [],
|
||||
notExported: [],
|
||||
|
||||
received: [],
|
||||
receivedLoading: false,
|
||||
receivedPage: 0,
|
||||
receivedTotalPages: 0,
|
||||
receivedTotalResults: 0,
|
||||
|
||||
filtered: [],
|
||||
filteredLoading: false,
|
||||
filteredPage: 0,
|
||||
filteredTotalPages: 0,
|
||||
filteredTotalResults: 0,
|
||||
|
||||
notExported: [],
|
||||
notExportedLoading: false,
|
||||
notExportedPage: 0,
|
||||
notExportedTotalPages: 0,
|
||||
notExportedTotalResults: 0,
|
||||
|
||||
receivedLoading: false,
|
||||
filteredLoading: false,
|
||||
notExportedLoading: false,
|
||||
|
||||
filterQuery: "",
|
||||
}
|
||||
|
||||
|
@ -24,8 +24,12 @@ import contentReducer
|
||||
import lookupReducer
|
||||
from 'components/lookup/reducer'
|
||||
|
||||
import routesReducer
|
||||
from 'components/routeservers/routes/reducer'
|
||||
|
||||
export default combineReducers({
|
||||
routeservers: routeserversReducer,
|
||||
routes: routesReducer,
|
||||
modals: modalsReducer,
|
||||
routing: routerReducer,
|
||||
lookup: lookupReducer,
|
||||
|
Reference in New Issue
Block a user