Added track listing
This commit is contained in:
@@ -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');
|
||||
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user