From af98bc2973eed8eb08927df866bc29ecae659d44 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 21 Jun 2022 01:03:20 +0300 Subject: [PATCH] don't use async component for user popover to fix the incorrect initial position. for some reason same doesn't work with status popover... --- src/components/user_popover/user_popover.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/user_popover/user_popover.js b/src/components/user_popover/user_popover.js index bffd59625b..962ae6a09e 100644 --- a/src/components/user_popover/user_popover.js +++ b/src/components/user_popover/user_popover.js @@ -1,3 +1,4 @@ +import UserCard from '../user_card/user_card.vue' import { defineAsyncComponent } from 'vue' const UserPopover = { @@ -6,7 +7,7 @@ const UserPopover = { 'userId', 'overlayCenters', 'disabled' ], components: { - UserCard: defineAsyncComponent(() => import('../user_card/user_card.vue')), + UserCard, Popover: defineAsyncComponent(() => import('../popover/popover.vue')) } }