diff --git a/webapp/components/features/FollowList/FollowList.story.js b/webapp/components/features/FollowList/FollowList.story.js
index b8cc02978..0d117df95 100644
--- a/webapp/components/features/FollowList/FollowList.story.js
+++ b/webapp/components/features/FollowList/FollowList.story.js
@@ -7,66 +7,66 @@ import FollowList from './FollowList.vue'
helpers.init()
-const sevenConnectionsUser = {
+const user = {
name: 'Jenny Rostock',
id: 'u3',
followedByCount: 12,
followedBy: helpers.fakeUser(7),
+ followingCount: 28,
+ following: helpers.fakeUser(7),
}
const allConnectionsUser = {
- ...sevenConnectionsUser,
- followedBy: [...sevenConnectionsUser.followedBy, ...helpers.fakeUser(5)],
+ ...user,
+ followedBy: [...user.followedBy, ...helpers.fakeUser(5)],
+ following: [...user.following, ...helpers.fakeUser(21)],
+}
+
+const noConnectionsUser = {
+ ...user,
+ followedBy: [],
+ followedByCount: 0,
+ following: [],
+ followingCount: 0,
}
storiesOf('FollowList', module)
.addDecorator(withA11y)
.addDecorator(helpers.layout)
.add('without connections', () => {
- const user = {
- ...sevenConnectionsUser,
- followedBy: [],
- followedByCount: 0,
- }
return {
components: { FollowList },
store: helpers.store,
data() {
- return { user }
+ return { user: noConnectionsUser }
},
- template: `