commit: 195057040cc35d45a7106e129374594b635d26ca
parent: ac46de3972851e12373f690d3ef70f31cc7db1ef
Author: HJ <30-hj@users.noreply.git.pleroma.social>
Date: Tue, 18 Jun 2019 16:31:20 +0000
Merge branch 'fix/minor-fixes-console-warnings-stretching' into 'develop'
Misc fixes: Fix uploads stretching on chrome, fix warnings in console
See merge request pleroma/pleroma-fe!842
Diffstat:
3 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue
@@ -68,6 +68,7 @@
max-height: 200px;
max-width: 100%;
display: flex;
+ align-items: center;
video {
max-width: 100%;
}
diff --git a/src/components/avatar_list/avatar_list.vue b/src/components/avatar_list/avatar_list.vue
@@ -1,6 +1,11 @@
<template>
<div class="avatars">
- <router-link :to="userProfileLink(user)" class="avatars-item" v-for="user in slicedUsers">
+ <router-link
+ :to="userProfileLink(user)"
+ class="avatars-item"
+ v-for="user in slicedUsers"
+ :key="user.id"
+ >
<UserAvatar :user="user" class="avatar-small" />
</router-link>
</div>
diff --git a/src/components/conversation/conversation.js b/src/components/conversation/conversation.js
@@ -139,6 +139,7 @@ const conversation = {
return (this.isExpanded) && id === this.status.id
},
setHighlight (id) {
+ if (!id) return
this.highlight = id
this.$store.dispatch('fetchFavsAndRepeats', id)
},