routes: filtering by distance

This commit is contained in:
muerwre 2018-12-13 10:19:28 +07:00
parent c69da00b2a
commit 8248d9f166
12 changed files with 546 additions and 43 deletions

View file

@ -51,4 +51,7 @@ export const keyPressed = ({ key }) => ({ type: ACTIONS.KEY_PRESSED, key });
export const searchSetTitle = title => ({ type: ACTIONS.SEARCH_SET_TITLE, title });
export const searchSetDistance = distance => ({ type: ACTIONS.SEARCH_SET_DISTANCE, distance });
export const searchSetTab = tab => ({ type: ACTIONS.SEARCH_SET_TAB, tab });
export const searchPutRoutes = list => ({ type: ACTIONS.SEARCH_PUT_ROUTES, list })
export const searchSetLoading = loading => ({ type: ACTIONS.SEARCH_SET_LOADING, loading });
export const searchPutRoutes = payload => ({ type: ACTIONS.SEARCH_PUT_ROUTES, ...payload });