From 9a5ac3331e7f6505d85393e996ba2069a3a7f023 Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Sun, 29 Jan 2023 18:16:22 +0900 Subject: [PATCH] Re-implement user follows in profile --- .../TimelineSpace/Detail/Profile.vue | 8 +- .../Detail/Profile/Following.vue | 102 ++++++++++++++++++ src/renderer/components/molecules/User.vue | 11 +- 3 files changed, 111 insertions(+), 10 deletions(-) create mode 100644 src/renderer/components/TimelineSpace/Detail/Profile/Following.vue diff --git a/src/renderer/components/TimelineSpace/Detail/Profile.vue b/src/renderer/components/TimelineSpace/Detail/Profile.vue index f411119c..b9ee72d9 100644 --- a/src/renderer/components/TimelineSpace/Detail/Profile.vue +++ b/src/renderer/components/TimelineSpace/Detail/Profile.vue @@ -97,7 +97,9 @@ - Following + Followers @@ -117,12 +119,14 @@ import { ACTION_TYPES as LIST_MEMBERSHIP_ACTION } from '@/store/TimelineSpace/Mo import { ACTION_TYPES as MUTE_ACTION } from '@/store/TimelineSpace/Modals/MuteConfirm' import FailoverImg from '@/components/atoms/FailoverImg.vue' import Posts from './Profile/Posts.vue' +import Following from './Profile/Following.vue' export default defineComponent({ name: 'Profile', components: { FailoverImg, - Posts + Posts, + Following }, setup() { const win = (window as any) as MyWindow diff --git a/src/renderer/components/TimelineSpace/Detail/Profile/Following.vue b/src/renderer/components/TimelineSpace/Detail/Profile/Following.vue new file mode 100644 index 00000000..65139154 --- /dev/null +++ b/src/renderer/components/TimelineSpace/Detail/Profile/Following.vue @@ -0,0 +1,102 @@ + + + + + diff --git a/src/renderer/components/molecules/User.vue b/src/renderer/components/molecules/User.vue index 75ff25c9..91f65b0e 100644 --- a/src/renderer/components/molecules/User.vue +++ b/src/renderer/components/molecules/User.vue @@ -51,11 +51,9 @@