From 9b437c4e56eb3a85a2319d840ece9f906d4192ca Mon Sep 17 00:00:00 2001 From: lain Date: Tue, 30 Jun 2020 14:43:56 +0200 Subject: [PATCH] Basic user card: Reduxify. --- src/components/basic_user_card/basic_user_card.js | 2 +- src/components/basic_user_card/basic_user_card.vue | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/basic_user_card/basic_user_card.js b/src/components/basic_user_card/basic_user_card.js index 87085a28..9da27645 100644 --- a/src/components/basic_user_card/basic_user_card.js +++ b/src/components/basic_user_card/basic_user_card.js @@ -20,7 +20,7 @@ const BasicUserCard = { this.userExpanded = !this.userExpanded }, userProfileLink (user) { - return generateProfileLink(user.id, user.screen_name, this.$store.state.instance.restrictedNicknames) + return generateProfileLink(user.redux.id, user.redux.acct, this.$store.state.instance.restrictedNicknames) } } } diff --git a/src/components/basic_user_card/basic_user_card.vue b/src/components/basic_user_card/basic_user_card.vue index 9e410610..736161e5 100644 --- a/src/components/basic_user_card/basic_user_card.vue +++ b/src/components/basic_user_card/basic_user_card.vue @@ -12,7 +12,7 @@ class="basic-user-card-expanded-content" > @@ -22,27 +22,27 @@ class="basic-user-card-collapsed-content" >
{{ user.name }} + >{{ user.redux.display_name }}
- @{{ user.screen_name }} + @{{ user.redux.acct }}