Allow opening profile when clicking an avatar inside of user popover
This commit is contained in:
parent
068139b27e
commit
4803fb07c8
6 changed files with 20 additions and 9 deletions
|
|
@ -11,8 +11,8 @@ const UserPopover = {
|
|||
Popover: defineAsyncComponent(() => import('../popover/popover.vue'))
|
||||
},
|
||||
computed: {
|
||||
userPopoverZoom () {
|
||||
return this.$store.getters.mergedConfig.userPopoverZoom
|
||||
userPopoverAvatarAction () {
|
||||
return this.$store.getters.mergedConfig.userPopoverAvatarAction
|
||||
},
|
||||
userPopoverOverlay () {
|
||||
return this.$store.getters.mergedConfig.userPopoverOverlay
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
class="user-popover"
|
||||
:user-id="userId"
|
||||
:hide-bio="true"
|
||||
:avatar-action="userPopoverZoom ? 'zoom' : close"
|
||||
:avatar-action="userPopoverAvatarAction == 'close' ? close : userPopoverAvatarAction"
|
||||
:on-close="close"
|
||||
/>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue