Fixed autojoin

This commit is contained in:
Travis Shivers 2020-06-29 01:32:08 -05:00
parent 2781c7dc2f
commit 5ec56b25e4
1 changed files with 2 additions and 6 deletions

View File

@ -82,14 +82,10 @@ export default {
created() { created() {
this.fetchServersHealth(); this.fetchServersHealth();
if (this.GET_CONFIG.autoJoin) { if (this.GET_CONFIG.autojoin) {
this.$router.push({ this.$router.push({
name: 'join', name: 'join',
params: { params: this.GET_CONFIG.autojoin,
server: this.GET_CONFIG.autoJoinServer,
room: this.GET_CONFIG.autoJoinRoom,
password: this.GET_CONFIG.autoJoinPassword,
},
}); });
} }
}, },