Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ class Actions {
router = route.parent;
debug("Switching to router="+router.name);
}
debug("ROUTER DELEGATE PROPS:"+ router.delegate.props.dispatch)
if (router.delegate.props && router.delegate.props.dispatch){
debug("ROUTER DELEGATE PROPS:"+ router.delegate.props.dispatch)
}
const currentRoute = router.routes[name];
if (router.delegate.props && router.delegate.props.dispatch){
router.delegate.props.dispatch({...props, type: BEFORE_ROUTE, route:currentRoute, name})
Expand Down