diff --git a/components/Author.vue b/components/Author.vue index ddb005cc8..48236f8c9 100644 --- a/components/Author.vue +++ b/components/Author.vue @@ -52,7 +52,7 @@ diff --git a/pages/profile/_slug.vue b/pages/profile/_slug.vue index 1e19849be..6c1898512 100644 --- a/pages/profile/_slug.vue +++ b/pages/profile/_slug.vue @@ -36,19 +36,19 @@ - + + :end-val="followedByCount" /> - + + :end-val="Number(user.followingCount) || 0" /> @@ -237,7 +237,7 @@ export default { myProfile() { return this.$route.params.slug === this.$store.getters['auth/user'].slug }, - fanCount() { + followedByCount() { let count = Number(this.user.followedByCount) || 0 if (this.voted) { // NOTE: this is used for presentation