diff --git a/webapp/pages/profile/_id/_slug.vue b/webapp/pages/profile/_id/_slug.vue
index 36ef1ba10..1a43da14b 100644
--- a/webapp/pages/profile/_id/_slug.vue
+++ b/webapp/pages/profile/_id/_slug.vue
@@ -90,17 +90,17 @@
{{ $t('profile.network.title') }}
@@ -270,7 +270,6 @@ export default {
mode: 'out-in',
},
data() {
- console.log('component data()')
const filter = tabToFilterMapping({ tab: 'post', id: this.$route.params.id })
return {
User: [],
@@ -434,7 +433,8 @@ export default {
this.user.followedBy = followedBy
},
fetchAllConnections(type) {
- this[`${type}Count`] = Infinity
+ if (type === 'following') this.followingCount = Infinity
+ if (type === 'followedBy') this.followedByCount = Infinity
},
},
apollo: {
@@ -462,8 +462,8 @@ export default {
variables() {
return {
id: this.$route.params.id,
- followedByCount: this.followedByCount,
- followingCount: this.followingCount
+ followedByCount: this.followedByCount,
+ followingCount: this.followingCount,
}
},
fetchPolicy: 'cache-and-network',