aboutsummaryrefslogtreecommitdiff
path: root/src/components/avatar_list/avatar_list.js
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2019-04-30 17:39:33 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2019-04-30 17:39:33 +0000
commita954f56e3444e921dcf5ff6651e443ac110f1804 (patch)
treede2de7d792a17ccd1ac74773cd05f3d18c2de60e /src/components/avatar_list/avatar_list.js
parent0f7f685c5e720d870cc732f07f68fb6eac278a68 (diff)
parentb1bd5bd08eccbe93d37aa1708692cad50003fd58 (diff)
Merge branch 'brendenbice1222/pleroma-fe-issues/pleroma-fe-202-show-boosted-users' into 'develop'
Show favoriting and repeating users in hilighted status See merge request pleroma/pleroma-fe!768
Diffstat (limited to 'src/components/avatar_list/avatar_list.js')
-rw-r--r--src/components/avatar_list/avatar_list.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/components/avatar_list/avatar_list.js b/src/components/avatar_list/avatar_list.js
new file mode 100644
index 00000000..d65125c2
--- /dev/null
+++ b/src/components/avatar_list/avatar_list.js
@@ -0,0 +1,15 @@
+import UserAvatar from '../user_avatar/user_avatar.vue'
+
+const AvatarList = {
+ props: ['avatars'],
+ computed: {
+ slicedAvatars () {
+ return this.avatars ? this.avatars.slice(0, 15) : []
+ }
+ },
+ components: {
+ UserAvatar
+ }
+}
+
+export default AvatarList