logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git

user_popover.js (590B)


  1. import UserCard from '../user_card/user_card.vue'
  2. import { defineAsyncComponent } from 'vue'
  3. const UserPopover = {
  4. name: 'UserPopover',
  5. props: [
  6. 'userId', 'overlayCenters', 'disabled', 'overlayCentersSelector'
  7. ],
  8. components: {
  9. UserCard,
  10. Popover: defineAsyncComponent(() => import('../popover/popover.vue'))
  11. },
  12. computed: {
  13. userPopoverAvatarAction () {
  14. return this.$store.getters.mergedConfig.userPopoverAvatarAction
  15. },
  16. userPopoverOverlay () {
  17. return this.$store.getters.mergedConfig.userPopoverOverlay
  18. }
  19. }
  20. }
  21. export default UserPopover