diff options
| author | Henry Jameson <spam@hjkos.com> | 2022-06-16 16:30:05 +0300 |
|---|---|---|
| committer | Henry Jameson <spam@hjkos.com> | 2022-06-16 16:48:10 +0300 |
| commit | d84cda7009d486a047953b1ca2d27acf35b8ddc1 (patch) | |
| tree | ae8e48736095f22ce66cf7cd71fc9cc391a9c542 /src/components/user_popover/user_popover.js | |
| parent | 770d12f7adda5659ff01b83ad3e172c27bae818d (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.js | 14 |
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 |
