diff options
author | Marco Ambrosini <marcoambrosini@icloud.com> | 2022-08-05 10:44:54 +0300 |
---|---|---|
committer | Marco Ambrosini <marcoambrosini@icloud.com> | 2022-08-05 10:48:04 +0300 |
commit | fa3b7714e5c60df16e3997cd9719d7cb9547eba1 (patch) | |
tree | a8e2ec12aa194f9aec1d5177f73602af808f9c69 /src | |
parent | 865bfcee5bde6028389ff7b357c974f5aba16840 (diff) |
Remove next function call
the next() function is not available in the afterEach router
guard
https://router.vuejs.org/guide/advaiced/navigation-guards.html#global-after-hooks
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/App.vue | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/App.vue b/src/App.vue index 645af0420..f6a1618d1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -341,7 +341,7 @@ export default { } }) - Router.afterEach((to, from, next) => { + Router.afterEach((to) => { /** * Change the page title only after the route was changed */ @@ -352,8 +352,6 @@ export default { } else if (to.name === 'notfound') { this.setPageTitle('') } - - next() }) if (getCurrentUser()) { |