Added track listing

This commit is contained in:
2020-11-26 06:42:04 +01:00
parent 31f8cffec1
commit 6a63392b09
6 changed files with 82 additions and 6 deletions

View File

@@ -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))