pleroma-fe/src/components/user_popover/user_popover.js

22 lines
584 B
JavaScript
Raw Normal View History

import { defineAsyncComponent } from 'vue'
2026-01-08 17:26:52 +02:00
2026-01-06 16:23:17 +02:00
import UserCard from '../user_card/user_card.vue'
const UserPopover = {
name: 'UserPopover',
2026-01-06 16:22:52 +02:00
props: ['userId', 'overlayCenters', 'disabled', 'overlayCentersSelector'],
components: {
UserCard,
2026-01-06 16:22:52 +02:00
Popover: defineAsyncComponent(() => import('../popover/popover.vue')),
},
computed: {
2026-01-06 16:22:52 +02:00
userPopoverAvatarAction() {
return this.$store.getters.mergedConfig.userPopoverAvatarAction
},
2026-01-06 16:22:52 +02:00
userPopoverOverlay() {
return this.$store.getters.mergedConfig.userPopoverOverlay
2026-01-06 16:22:52 +02:00
},
},
}
export default UserPopover