Skip to content

Commit

Permalink
GF-340: Fix empty route edit modal
Browse files Browse the repository at this point in the history
  • Loading branch information
levenkov committed Feb 14, 2022
1 parent f4fe10b commit 5670b9e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/v2/components/RoutesEditModal/RoutesEditModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,9 @@ const mapDispatchToProps = dispatch => ({
loadRouteMarkColors: () => dispatch(loadRouteMarkColors()),
loadUsers: () => dispatch(loadUsers()),
loadSector: (url, params, afterLoad) => dispatch(loadSector(url, params, afterLoad)),
loadRoute: (id, afterLoad) => dispatch(loadRouteAction(id, afterLoad)),
loadRoute: (id, afterLoad) => dispatch(
loadRouteAction(id, /* incrementViewsCount */ false, afterLoad),
),
updateRoute: (id, params, afterSuccess, afterAll) => dispatch(
updateRouteAction(id, params, afterSuccess, afterAll),
),
Expand Down

0 comments on commit 5670b9e

Please sign in to comment.