summaryrefslogtreecommitdiff
path: root/src/router/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/router/index.js')
-rw-r--r--src/router/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/router/index.js b/src/router/index.js
index 3f447de3..3cd52264 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -12,11 +12,11 @@ Vue.use(VueRouter);
const router = new VueRouter({
base: process.env.BASE_URL,
routes,
- linkExactActiveClass: 'nav-link--current'
+ linkExactActiveClass: 'nav-link--current',
});
router.beforeEach((to, from, next) => {
- if (to.matched.some(record => record.meta.requiresAuth)) {
+ if (to.matched.some((record) => record.meta.requiresAuth)) {
if (store.getters['authentication/isLoggedIn']) {
next();
return;