aboutsummaryrefslogtreecommitdiff
path: root/src/components/chat_title/chat_title.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-07-20 12:54:51 +0300
committerHenry Jameson <me@hjkos.com>2022-07-20 12:54:51 +0300
commitf6d0d3efba3112e5fd175e6ff52a7032fba4afff (patch)
tree232280cb5198693c4cb3dd5bdbde6726d7ceb2b2 /src/components/chat_title/chat_title.js
parent2c3c2bb5b032f534a7ff9bc7be4687373baa2f8d (diff)
add popovers to chats
Diffstat (limited to 'src/components/chat_title/chat_title.js')
-rw-r--r--src/components/chat_title/chat_title.js10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/components/chat_title/chat_title.js b/src/components/chat_title/chat_title.js
index f6e299ad..b8721126 100644
--- a/src/components/chat_title/chat_title.js
+++ b/src/components/chat_title/chat_title.js
@@ -1,12 +1,13 @@
-import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'
import UserAvatar from '../user_avatar/user_avatar.vue'
import RichContent from 'src/components/rich_content/rich_content.jsx'
+import { defineAsyncComponent } from 'vue'
export default {
name: 'ChatTitle',
components: {
UserAvatar,
- RichContent
+ RichContent,
+ UserPopover: defineAsyncComponent(() => import('../user_popover/user_popover.vue'))
},
props: [
'user', 'withAvatar'
@@ -18,10 +19,5 @@ export default {
htmlTitle () {
return this.user ? this.user.name_html : ''
}
- },
- methods: {
- getUserProfileLink (user) {
- return generateProfileLink(user.id, user.screen_name)
- }
}
}