mirror of
https://github.com/romancm/gamebrary
synced 2024-11-23 19:53:14 +00:00
Fix routing issue on first login
This commit is contained in:
parent
b392112b54
commit
7e36cd5c04
1 changed files with 5 additions and 1 deletions
|
@ -63,7 +63,11 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
this.load();
|
if (this.platform) {
|
||||||
|
this.load();
|
||||||
|
} else {
|
||||||
|
this.$router.push({ name: 'platforms' });
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Reference in a new issue