Skip to content
Snippets Groups Projects
Commit b9acb435 authored by Emmanuel Salomon's avatar Emmanuel Salomon :fist:
Browse files

fix: prevent next page with hash

parent 893f7cc0
No related branches found
No related tags found
No related merge requests found
...@@ -83,7 +83,7 @@ export default { ...@@ -83,7 +83,7 @@ export default {
computed: { computed: {
nextPage() { nextPage() {
const index = this.sections.findIndex( const index = this.sections.findIndex(
(index) => index.to === this.$route.fullPath (index) => index.to === this.$route.path
) )
return this.sections[index + 1] ? this.sections[index + 1] : null return this.sections[index + 1] ? this.sections[index + 1] : null
}, },
......
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