parent
50ae081ea8
commit
6608f0c8ce
7 changed files with 24 additions and 12 deletions
|
|
@ -75,7 +75,7 @@ export default {
|
|||
},
|
||||
created() {
|
||||
if (this.loggedIn) {
|
||||
this.$navigation.push({name: "Chat"}, -1);
|
||||
this.$navigation.push({name: "Chat", params: { roomId: null }}, -1);
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
|
@ -114,7 +114,7 @@ export default {
|
|||
this.loading = true;
|
||||
this.$store.dispatch("auth/login", this.user).then(
|
||||
() => {
|
||||
this.$navigation.push({name: "Chat"}, -1);
|
||||
this.$navigation.push({name: "Chat", params: { roomId: null }}, -1);
|
||||
},
|
||||
(error) => {
|
||||
this.loading = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue