Skip to content

Commit

Permalink
[ICIJ/datashare#407] Set as visited link after click on "Next"
Browse files Browse the repository at this point in the history
  • Loading branch information
annelhote committed Mar 24, 2020
1 parent 5d035ef commit c7ce892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SearchDocumentNavbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default {
},
goToDocument (document) {
if (document) {
return this.$router.push({ name: 'document', params: document.routerParams })
return this.$router.push({ name: 'document', params: document.routerParams, query: { q: this.$store.state.search.query } })
}
},
async goToPreviousDocument () {
Expand Down

0 comments on commit c7ce892

Please sign in to comment.