diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-25 12:08:29 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-25 12:08:29 +0300 |
commit | c595e9b53982eb9894754e03a2de4a91bd5a319c (patch) | |
tree | bc74062024e542fbd1bd13b5d0478add719b778f /app/assets/javascripts/vue_shared/components/user_popover | |
parent | a8d2e14a139454d55e6ce6c49f0aefc1f34823cb (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/vue_shared/components/user_popover')
-rw-r--r-- | app/assets/javascripts/vue_shared/components/user_popover/user_popover.vue | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/assets/javascripts/vue_shared/components/user_popover/user_popover.vue b/app/assets/javascripts/vue_shared/components/user_popover/user_popover.vue index cac8f0a9aa5..2c09fa71230 100644 --- a/app/assets/javascripts/vue_shared/components/user_popover/user_popover.vue +++ b/app/assets/javascripts/vue_shared/components/user_popover/user_popover.vue @@ -38,6 +38,11 @@ export default { required: true, default: null, }, + placement: { + type: String, + required: false, + default: 'top', + }, }, computed: { statusHtml() { @@ -66,7 +71,7 @@ export default { <template> <!-- 200ms delay so not every mouseover triggers Popover --> - <gl-popover :target="target" :delay="200" boundary="viewport" placement="top"> + <gl-popover :target="target" :delay="200" :placement="placement" boundary="viewport"> <div class="gl-p-3 gl-line-height-normal gl-display-flex" data-testid="user-popover"> <div class="gl-p-2 flex-shrink-1"> <user-avatar-image :img-src="user.avatarUrl" :size="64" css-classes="gl-mr-3!" /> |