From 2c7ca87acc12c20198fcdda450d7f53aa1c4a0ca Mon Sep 17 00:00:00 2001 From: Raphael Beer Date: Thu, 9 Apr 2020 23:14:16 +0200 Subject: [PATCH] Review: lint --- webapp/pages/profile/_id/_slug.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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',