Filter modal is now working too

This commit is contained in:
Luke Berndt
2023-01-04 21:58:22 -05:00
parent 5a05ab509c
commit 271ecee5d5
12 changed files with 1156 additions and 411 deletions

View File

@@ -6,6 +6,7 @@ import { applyMiddleware, compose, createStore } from 'redux'
import { routerMiddleware } from 'connected-react-router'
import createRootReducer from './reducers'
import { apiSlice } from '../features/api/apiSlice'
import {callPlayerSlice} from "../features/callPlayer/callPlayerSlice"
import thunk from 'redux-thunk';
@@ -20,7 +21,7 @@ export default function configureStore(preloadedState) {
applyMiddleware(
routerMiddleware(history), // for dispatching history actions
thunk,
apiSlice.middleware
apiSlice.middleware,
// ... other middlewares ...
),
),

View File

@@ -7,12 +7,16 @@ import talkgroupReducer from "../Talkgroups/talkgroup-reducer"
import groupReducer from "../Group/group-reducer"
import callReducer from "../Call/call-reducer"
import {apiSlice} from "../features/api/apiSlice"
import callPlayerSlice from "../features/callPlayer/callPlayerSlice"
export default (history) => combineReducers({
router: connectRouter(history),
system: systemReducer,
talkgroup: talkgroupReducer,
group: groupReducer,
callPlayer: callPlayerSlice,
call: callReducer,
[apiSlice.reducerPath]: apiSlice.reducer
[apiSlice.reducerPath]: apiSlice.reducer,
})