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

@@ -37,8 +37,12 @@ export default {
this.$api.getMyInfo().then(({name}) => {
this.$store.dispatch('storeUserData', name).then(() => {
this.$router.push({name: "Collections"}).catch(() => {});
this.$store.dispatch('setAppReady');
if (this.$route.path === '/login') {
// TODO: ez igy nagyon gagyi solution
this.$router.push({name: "Collections"}).catch(() => {
});
}
this.$store.dispatch('setAppReady');
});