aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_popover/user_popover.js
diff options
context:
space:
mode:
authorHenry Jameson <spam@hjkos.com>2022-06-16 16:30:05 +0300
committerHenry Jameson <spam@hjkos.com>2022-06-16 16:48:10 +0300
commitd84cda7009d486a047953b1ca2d27acf35b8ddc1 (patch)
treeae8e48736095f22ce66cf7cd71fc9cc391a9c542 /src/components/user_popover/user_popover.js
parent770d12f7adda5659ff01b83ad3e172c27bae818d (diff)
unify user popovers into a separate component
Diffstat (limited to 'src/components/user_popover/user_popover.js')
-rw-r--r--src/components/user_popover/user_popover.js14
1 files changed, 14 insertions, 0 deletions
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