From 2c3c2bb5b032f534a7ff9bc7be4687373baa2f8d Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 19 Jul 2022 19:33:48 +0300 Subject: fix avatar not closing, add option to put popovers next to avatar instead of over it --- src/components/user_popover/user_popover.js | 3 +++ src/components/user_popover/user_popover.vue | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'src/components/user_popover') diff --git a/src/components/user_popover/user_popover.js b/src/components/user_popover/user_popover.js index fa7f9781..69b25383 100644 --- a/src/components/user_popover/user_popover.js +++ b/src/components/user_popover/user_popover.js @@ -13,6 +13,9 @@ const UserPopover = { computed: { userPopoverZoom () { return this.$store.getters.mergedConfig.userPopoverZoom + }, + userPopoverOverlay () { + return this.$store.getters.mergedConfig.userPopoverOverlay } } } diff --git a/src/components/user_popover/user_popover.vue b/src/components/user_popover/user_popover.vue index c14cea4d..72bb7f77 100644 --- a/src/components/user_popover/user_popover.vue +++ b/src/components/user_popover/user_popover.vue @@ -3,7 +3,7 @@ trigger="click" popover-class="popover-default user-popover" :overlay-centers-selector="overlayCentersSelector || '.user-info .Avatar'" - :overlay-centers="overlayCenters" + :overlay-centers="overlayCenters && userPopoverOverlay" :disabled="disabled" > -- cgit v1.2.3-70-g09d2