Added track listing
This commit is contained in:
@@ -74,6 +74,11 @@ const router = new VueRouter({
|
||||
|
||||
router.beforeEach((to, from, next) => {
|
||||
|
||||
if (!store.state.appReady) {
|
||||
next();
|
||||
return;
|
||||
}
|
||||
|
||||
const authorized = store.getters.isLoggedIn;
|
||||
|
||||
const visitAllowed = to.matched.some(record => record.meta.allowVisit(authorized))
|
||||
|
||||
Reference in New Issue
Block a user