Skip to content
Snippets Groups Projects
Unverified Commit 85e13418 authored by Alexander Polyankin's avatar Alexander Polyankin Committed by GitHub
Browse files

Fix navigating back in details modal (#21618)

parent 734bf144
No related branches found
No related tags found
No related merge requests found
......@@ -38,8 +38,8 @@ const mapDispatchToProps = (dispatch: any) => ({
onArchive: async (event: TimelineEvent) => {
await dispatch(TimelineEvents.actions.setArchived(event, true));
},
onGoBack: (timeline: Timeline, collection: Collection) => {
dispatch(push(Urls.timelinesInCollection(collection)));
onGoBack: (timeline: Timeline) => {
dispatch(push(Urls.timelinesInCollection(timeline.collection)));
},
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment