commit: af98bc2973eed8eb08927df866bc29ecae659d44
parent aca8cf64db26e8a883a8099462ce5381c7e330e4
Author: Henry Jameson <me@hjkos.com>
Date: Tue, 21 Jun 2022 01:03:20 +0300
don't use async component for user popover to fix the incorrect initial
position.
for some reason same doesn't work with status popover...
Diffstat:
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
@@ -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'))
}
}