Fix update current client

This commit is contained in:
Chocobozzz
2019-08-21 11:25:09 +02:00
parent 4bc70d5070
commit a353eb49a3
8 changed files with 236 additions and 208 deletions

View File

@@ -146,9 +146,9 @@ export default class Login extends Vue {
onLogin(this.$apollo);
if (this.redirect) {
this.$router.push(this.redirect);
await this.$router.push(this.redirect);
} else {
this.$router.push({ name: RouteName.HOME });
await this.$router.push({ name: RouteName.HOME });
}
} catch (err) {
console.error(err);