Merge branch 'develop' into feature/polls-attempt-2
This commit is contained in:
commit
2e173d9072
|
@ -47,6 +47,8 @@ body {
|
|||
color: var(--text, $fallback--text);
|
||||
max-width: 100vw;
|
||||
overflow-x: hidden;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
a {
|
||||
|
|
|
@ -68,6 +68,7 @@
|
|||
max-height: 200px;
|
||||
max-width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
video {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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)
|
||||
},
|
||||
|
|
|
@ -356,7 +356,13 @@ const users = {
|
|||
},
|
||||
searchUsers (store, query) {
|
||||
// TODO: Move userSearch api into api.service
|
||||
return userSearchApi.search({query, store: { state: store.rootState }})
|
||||
return userSearchApi.search({
|
||||
query,
|
||||
store: {
|
||||
state: store.rootState,
|
||||
getters: store.rootGetters
|
||||
}
|
||||
})
|
||||
.then((users) => {
|
||||
store.commit('addNewUsers', users)
|
||||
return users
|
||||
|
|
Loading…
Reference in New Issue