From 9dd65aa6d55df1bb668ed12c409c2bd4119adc2e Mon Sep 17 00:00:00 2001 From: Raphael Beer Date: Wed, 1 Apr 2020 09:40:07 +0200 Subject: [PATCH] Remove: redundant defaults --- webapp/pages/profile/_id/_slug.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webapp/pages/profile/_id/_slug.vue b/webapp/pages/profile/_id/_slug.vue index b3f056a3d..36ef1ba10 100644 --- a/webapp/pages/profile/_id/_slug.vue +++ b/webapp/pages/profile/_id/_slug.vue @@ -270,6 +270,7 @@ export default { mode: 'out-in', }, data() { + console.log('component data()') const filter = tabToFilterMapping({ tab: 'post', id: this.$route.params.id }) return { User: [], @@ -461,8 +462,8 @@ export default { variables() { return { id: this.$route.params.id, - followedByCount: this.followedByCount || 7, - followingCount: this.followingCount || 7, + followedByCount: this.followedByCount, + followingCount: this.followingCount } }, fetchPolicy: 'cache-and-network',