Move userProfile link to methods
This commit is contained in:
parent
5f10c5e786
commit
ea6977cd4d
4 changed files with 10 additions and 10 deletions
|
@ -11,9 +11,6 @@ const chatPanel = {
|
|||
computed: {
|
||||
messages () {
|
||||
return this.$store.state.chat.messages
|
||||
},
|
||||
userProfileLink (user) {
|
||||
return generateProfileLink(user.id, user.screen_name)
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
@ -23,6 +20,9 @@ const chatPanel = {
|
|||
},
|
||||
togglePanel () {
|
||||
this.collapsed = !this.collapsed
|
||||
},
|
||||
userProfileLink (user) {
|
||||
return generateProfileLink(user.id, user.screen_name)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue