diff --git a/components/PostCard.vue b/components/PostCard.vue
index e1bc41537..84ff4d0c2 100644
--- a/components/PostCard.vue
+++ b/components/PostCard.vue
@@ -14,16 +14,17 @@
style="position: absolute; bottom: 44px;">
-
- {{ post.commentsCount }}
-
-
{{ post.shoutedCount }}
+
+
+ {{ post.commentsCount }}
+
diff --git a/pages/profile/_slug.vue b/pages/profile/_slug.vue
index 1c2832321..07182ec86 100644
--- a/pages/profile/_slug.vue
+++ b/pages/profile/_slug.vue
@@ -22,7 +22,7 @@
{{ user.followedByCount }}
+ style="margin-bottom: 0;">{{ fanCount }}
Fans
@@ -36,18 +36,21 @@
margin="small">
+ @update="voted = true && fetchUser" />
Netzwerk
+ Folgt:
-
+
@@ -129,10 +132,19 @@ export default {
data() {
return {
- User: []
+ User: [],
+ voted: false
}
},
computed: {
+ fanCount() {
+ let count = Number(this.user.followedByCount) || 0
+ if (this.voted) {
+ // NOTE: this is used for presentation
+ count += 1
+ }
+ return count
+ },
user() {
return this.User ? this.User[0] : {}
}