From d0036213d81273c5fe23629c05cf83c597af4c5b Mon Sep 17 00:00:00 2001 From: Grzegorz Leoniec Date: Tue, 30 Oct 2018 13:00:29 +0100 Subject: [PATCH] improved follow and following naming --- components/Author.vue | 2 +- pages/profile/_slug.vue | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) 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