diff options
| author | Henry Jameson <me@hjkos.com> | 2022-06-27 19:26:52 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-06-27 19:26:52 +0300 |
| commit | 700df11e9a0d36b3e1afdc50034567014c2b71cc (patch) | |
| tree | 1e441daa3ba637aeccee3e9f0148b9ad9e172137 /src/components/user_popover | |
| parent | cb135645f9b290944c40052f09a3eb9a487598a1 (diff) | |
fix basicusercard
Diffstat (limited to 'src/components/user_popover')
| -rw-r--r-- | src/components/user_popover/user_popover.js | 2 | ||||
| -rw-r--r-- | src/components/user_popover/user_popover.vue | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/user_popover/user_popover.js b/src/components/user_popover/user_popover.js index 962ae6a0..3b3722ce 100644 --- a/src/components/user_popover/user_popover.js +++ b/src/components/user_popover/user_popover.js @@ -4,7 +4,7 @@ import { defineAsyncComponent } from 'vue' const UserPopover = { name: 'UserPopover', props: [ - 'userId', 'overlayCenters', 'disabled' + 'userId', 'overlayCenters', 'disabled', 'overlay-centers-selector' ], components: { UserCard, diff --git a/src/components/user_popover/user_popover.vue b/src/components/user_popover/user_popover.vue index c998e298..f4f505ae 100644 --- a/src/components/user_popover/user_popover.vue +++ b/src/components/user_popover/user_popover.vue @@ -2,7 +2,7 @@ <Popover trigger="click" popover-class="popover-default user-popover" - overlay-centers-selector=".user-info-avatar-link .Avatar" + :overlay-centers-selector="overlayCentersSelector || '.user-info-avatar-link .Avatar'" :overlay-centers="overlayCenters" :disabled="disabled" > |
