don't use async component for user popover to fix the incorrect initial

position.
for some reason same doesn't work with status popover...
This commit is contained in:
Henry Jameson 2022-06-21 01:03:20 +03:00
parent aca8cf64db
commit af98bc2973
1 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
import UserCard from '../user_card/user_card.vue'
import { defineAsyncComponent } from 'vue' import { defineAsyncComponent } from 'vue'
const UserPopover = { const UserPopover = {
@ -6,7 +7,7 @@ const UserPopover = {
'userId', 'overlayCenters', 'disabled' 'userId', 'overlayCenters', 'disabled'
], ],
components: { components: {
UserCard: defineAsyncComponent(() => import('../user_card/user_card.vue')), UserCard,
Popover: defineAsyncComponent(() => import('../popover/popover.vue')) Popover: defineAsyncComponent(() => import('../popover/popover.vue'))
} }
} }