diff options
| author | Brenden Bice <brenden.next@gmail.com> | 2019-04-01 22:29:45 -0400 |
|---|---|---|
| committer | Brenden Bice <brenden.next@gmail.com> | 2019-04-11 23:26:12 -0400 |
| commit | 2d339cd3b8b3ffc1509c954f68636d8ed4d37253 (patch) | |
| tree | 0f32e01495eff840132faa00bc10979bf8fc5965 /src/components/status/status.js | |
| parent | fd3811d651f5be0c74f33850df2e95ed18f86a0c (diff) | |
fetch favorited users
Diffstat (limited to 'src/components/status/status.js')
| -rw-r--r-- | src/components/status/status.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js index 0295cd04..e470eaeb 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -7,6 +7,7 @@ import UserCard from '../user_card/user_card.vue' import UserAvatar from '../user_avatar/user_avatar.vue' import Gallery from '../gallery/gallery.vue' import LinkPreview from '../link-preview/link-preview.vue' +import AvatarList from '../avatar_list/avatar_list.vue' import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator' import fileType from 'src/services/file_type/file_type.service' import { highlightClass, highlightStyle } from '../../services/user_highlighter/user_highlighter.js' @@ -257,6 +258,10 @@ const Status = { return this.status.statusnet_html } return this.status.summary_html + '<br />' + this.status.statusnet_html + }, + favouritedByUsers () { + return this.statusoid.favoritedBy ? this.statusoid.favoritedBy : [] + }, } }, components: { @@ -268,7 +273,8 @@ const Status = { UserCard, UserAvatar, Gallery, - LinkPreview + LinkPreview, + AvatarList }, methods: { visibilityIcon (visibility) { |
