unify user popovers into a separate component
This commit is contained in:
parent
770d12f7ad
commit
d84cda7009
9 changed files with 127 additions and 130 deletions
14
src/components/user_popover/user_popover.js
Normal file
14
src/components/user_popover/user_popover.js
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue