diff options
| author | Shpuld Shpludson <shp@cock.li> | 2019-06-18 16:31:20 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2019-06-18 16:31:20 +0000 |
| commit | 76efbcbe9252106a9bb33b4c3017c15f85c5ac4d (patch) | |
| tree | 38c5f77425d717abf4ff2ed7a599b77800d1db1d | |
| parent | ac46de3972851e12373f690d3ef70f31cc7db1ef (diff) | |
Misc fixes: Fix uploads stretching on chrome, fix warnings in console
| -rw-r--r-- | src/components/attachment/attachment.vue | 1 | ||||
| -rw-r--r-- | src/components/avatar_list/avatar_list.vue | 7 | ||||
| -rw-r--r-- | src/components/conversation/conversation.js | 1 |
3 files changed, 8 insertions, 1 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index c58bebd3..fc9cc7a2 100644 --- 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 index c0238570..343ef529 100644 --- 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 index b3074590..8ae89421 100644 --- 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) }, |
