From 984f69a738d872a76dfd907374b388205b323998 Mon Sep 17 00:00:00 2001 From: Raphael Beer Date: Thu, 19 Mar 2020 01:58:28 +0100 Subject: [PATCH] Chore: lint --- webapp/components/features/FollowList.spec.js | 6 ++---- webapp/components/features/FollowList.vue | 12 +++--------- webapp/graphql/User.js | 1 - webapp/pages/profile/_id/_slug.vue | 2 -- 4 files changed, 5 insertions(+), 16 deletions(-) diff --git a/webapp/components/features/FollowList.spec.js b/webapp/components/features/FollowList.spec.js index 43778cf77..571fc993e 100644 --- a/webapp/components/features/FollowList.spec.js +++ b/webapp/components/features/FollowList.spec.js @@ -8,8 +8,6 @@ config.stubs['client-only'] = '' config.stubs['ds-space'] = '' config.stubs['nuxt-link'] = '' -let user, additionalConnections - describe('FollowList.vue', () => { let store, mocks, getters, propsData @@ -75,7 +73,7 @@ describe('FollowList.vue', () => { }) }) -user = { +const user = { name: 'Jenny Rostock', id: 'u3', followedByCount: 32, @@ -156,7 +154,7 @@ user = { ], } -additionalConnections = { +const additionalConnections = { followedBy: [ { id: '9f305e7a-ae5a-4e22-8269-8b6899af674f', diff --git a/webapp/components/features/FollowList.vue b/webapp/components/features/FollowList.vue index 0c21c6058..c46b4ca6a 100644 --- a/webapp/components/features/FollowList.vue +++ b/webapp/components/features/FollowList.vue @@ -12,11 +12,11 @@ - + {{ $t('profile.network.andMore', { - number: this.counts[this.type] - this.connections.length, + number: this.allConnectionsCount - this.connections.length, }) }} @@ -32,14 +32,12 @@