rename favourite to favorite

This commit is contained in:
Brenden Bice 2019-04-02 12:13:55 -04:00
parent 6511166631
commit 8c9bcdc6c1
5 changed files with 13 additions and 13 deletions

View file

@ -121,7 +121,7 @@ const conversation = {
this.$store.state.api.backendInteractor.fetchConversation({id: this.status.id})
.then(({ancestors, descendants}) => {
const ancestorId = ancestors.length ? ancestors[0].id : this.status.id
this.fetchFavouritedByUsers(ancestorId)
this.fetchFavoritedByUsers(ancestorId)
this.fetchRebloggedByUsers(ancestorId)
this.$store.dispatch('addNewStatuses', { statuses: ancestors })
this.$store.dispatch('addNewStatuses', { statuses: descendants })
@ -152,8 +152,8 @@ const conversation = {
this.setHighlight(null)
}
},
fetchFavouritedByUsers (id) {
this.$store.dispatch('fetchFavouritedByUsers', { id })
fetchFavoritedByUsers (id) {
this.$store.dispatch('fetchFavoritedByUsers', { id })
},
fetchRebloggedByUsers (id) {
this.$store.dispatch('fetchRebloggedByUsers', { id })

View file

@ -133,7 +133,7 @@
<link-preview :card="status.card" :size="attachmentSize" :nsfw="nsfwClickthrough" />
</div>
<div class="favs-favourited-users" v-if="combinedFavsAndRepeatsAvatars.length > 0" :class="{ 'status-fadein': combinedFavsAndRepeatsAvatars.length > 0 }">
<div class="favs-favorited-users" v-if="combinedFavsAndRepeatsAvatars.length > 0" :class="{ 'status-fadein': combinedFavsAndRepeatsAvatars.length > 0 }">
<AvatarList :avatars='combinedFavsAndRepeatsAvatars'></AvatarList>
</div>
@ -616,7 +616,7 @@ a.unmute {
}
}
.favs-favourited-users {
.favs-favorited-users {
margin-top: 10px;
}