Only reload user if it _is_ a user #232
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ const UserProfile = {
|
|||
},
|
||||
watch: {
|
||||
'$route.params.id': function (newVal) {
|
||||
if (isUserPage(this.$route) && ewVal) {
|
||||
if (isUserPage(this.$route) && newVal) {
|
||||
this.switchUser(newVal)
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue