From d84cda7009d486a047953b1ca2d27acf35b8ddc1 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Thu, 16 Jun 2022 16:30:05 +0300 Subject: unify user popovers into a separate component --- src/components/user_popover/user_popover.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/components/user_popover/user_popover.js (limited to 'src/components/user_popover/user_popover.js') diff --git a/src/components/user_popover/user_popover.js b/src/components/user_popover/user_popover.js new file mode 100644 index 00000000..bffd5962 --- /dev/null +++ b/src/components/user_popover/user_popover.js @@ -0,0 +1,14 @@ +import { defineAsyncComponent } from 'vue' + +const UserPopover = { + name: 'UserPopover', + props: [ + 'userId', 'overlayCenters', 'disabled' + ], + components: { + UserCard: defineAsyncComponent(() => import('../user_card/user_card.vue')), + Popover: defineAsyncComponent(() => import('../popover/popover.vue')) + } +} + +export default UserPopover -- cgit v1.2.3-70-g09d2