Make user profiles visible inline.
This commit is contained in:
parent
ae388d7927
commit
5481cf00a3
3 changed files with 20 additions and 4 deletions
|
|
@ -3,6 +3,7 @@ import FavoriteButton from '../favorite_button/favorite_button.vue'
|
|||
import RetweetButton from '../retweet_button/retweet_button.vue'
|
||||
import DeleteButton from '../delete_button/delete_button.vue'
|
||||
import PostStatusForm from '../post_status_form/post_status_form.vue'
|
||||
import UserCardContent from '../user_card_content/user_card_content.vue'
|
||||
|
||||
const Status = {
|
||||
props: [
|
||||
|
|
@ -12,7 +13,8 @@ const Status = {
|
|||
data: () => ({
|
||||
replying: false,
|
||||
expanded: false,
|
||||
unmuted: false
|
||||
unmuted: false,
|
||||
userExpanded: false
|
||||
}),
|
||||
computed: {
|
||||
retweet () { return !!this.statusoid.retweeted_status },
|
||||
|
|
@ -34,7 +36,8 @@ const Status = {
|
|||
FavoriteButton,
|
||||
RetweetButton,
|
||||
DeleteButton,
|
||||
PostStatusForm
|
||||
PostStatusForm,
|
||||
UserCardContent
|
||||
},
|
||||
methods: {
|
||||
toggleReplying () {
|
||||
|
|
@ -45,6 +48,9 @@ const Status = {
|
|||
},
|
||||
toggleMute () {
|
||||
this.unmuted = !this.unmuted
|
||||
},
|
||||
toggleUserExpanded () {
|
||||
this.userExpanded = !this.userExpanded
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue