From b9acb435b3be95d21254fe259eda7a356ff84641 Mon Sep 17 00:00:00 2001 From: ManUtopiK <emmanuel.salomon@gmail.com> Date: Sat, 25 Sep 2021 14:19:30 +0200 Subject: [PATCH] fix: prevent next page with hash --- components/page/PageFlatPlan.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/page/PageFlatPlan.vue b/components/page/PageFlatPlan.vue index e2682b40..c678fbbe 100644 --- a/components/page/PageFlatPlan.vue +++ b/components/page/PageFlatPlan.vue @@ -83,7 +83,7 @@ export default { computed: { nextPage() { 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 }, -- GitLab