diff --git a/src/components/user_profile/user_profile.js b/src/components/user_profile/user_profile.js index 6e9bf097..42c5ec9e 100644 --- a/src/components/user_profile/user_profile.js +++ b/src/components/user_profile/user_profile.js @@ -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) } },