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

position.
for some reason same doesn't work with status popover...
remove-mods-files
Henry Jameson 2 years ago
parent aca8cf64db
commit af98bc2973

@ -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'))
} }
} }

Loading…
Cancel
Save