From 6079301ec45c6c13a1f8b5f9f6acf52b5a449331 Mon Sep 17 00:00:00 2001 From: Shpuld Shpuldson Date: Thu, 16 Jul 2020 17:42:16 +0300 Subject: Move user list from reactions to its own component, make favs and rts use it --- .../user_list_popover/user_list_popover.js | 13 ++++ .../user_list_popover/user_list_popover.vue | 74 ++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 src/components/user_list_popover/user_list_popover.js create mode 100644 src/components/user_list_popover/user_list_popover.vue (limited to 'src/components/user_list_popover') diff --git a/src/components/user_list_popover/user_list_popover.js b/src/components/user_list_popover/user_list_popover.js new file mode 100644 index 00000000..26d2ed1a --- /dev/null +++ b/src/components/user_list_popover/user_list_popover.js @@ -0,0 +1,13 @@ + +const UserListPopover = { + name: 'UserListPopover', + props: [ + 'users' + ], + components: { + Popover: () => import('../popover/popover.vue'), + UserAvatar: () => import('../user_avatar/user_avatar.vue') + } +} + +export default UserListPopover diff --git a/src/components/user_list_popover/user_list_popover.vue b/src/components/user_list_popover/user_list_popover.vue new file mode 100644 index 00000000..b6b7ab95 --- /dev/null +++ b/src/components/user_list_popover/user_list_popover.vue @@ -0,0 +1,74 @@ + + + + + -- cgit v1.2.3-70-g09d2