1
0
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:
Matthias Hannig
2018-07-16 09:02:15 +02:00
parent d9653dcf29
commit 8ea08368c0
2 changed files with 10 additions and 7 deletions

View File

@ -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: "",
}

View File

@ -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,