From 61075e149373d76fa9fb315d14c51a1b41f4be5a Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Thu, 7 Oct 2021 14:03:31 +0200 Subject: [PATCH] add comment for pid Co-authored-by: Ulf Gebhardt --- frontend/src/routes/guards.js | 1 + 1 file changed, 1 insertion(+) 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)