diff --git a/frontend/src/routes/guards.js b/frontend/src/routes/guards.js index 91e341370..791978352 100644 --- a/frontend/src/routes/guards.js +++ b/frontend/src/routes/guards.js @@ -1,5 +1,6 @@ const addNavigationGuards = (router, store) => { router.beforeEach((to, from, next) => { + // handle publisherId const publisherId = to.query.pid if (publisherId) { store.commit('publisherId', publisherId)