more replacements
This commit is contained in:
parent
95a087c313
commit
18305ce8f0
2 changed files with 3 additions and 7 deletions
|
|
@ -63,7 +63,7 @@ export default {
|
|||
this.inProgress = true
|
||||
useUsersStore()
|
||||
.followUser(this.relationship.id)
|
||||
.then(() => {
|
||||
.finally(() => {
|
||||
this.inProgress = false
|
||||
})
|
||||
},
|
||||
|
|
@ -79,12 +79,8 @@ export default {
|
|||
this.inProgress = true
|
||||
useUsersStore()
|
||||
.unfollowUser(this.relationship.id)
|
||||
.then(() => {
|
||||
.finally(() => {
|
||||
this.inProgress = false
|
||||
store.commit('removeStatus', {
|
||||
timeline: 'friends',
|
||||
userId: this.relationship.id,
|
||||
})
|
||||
})
|
||||
|
||||
this.hideConfirmUnfollow()
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ const MuteCard = {
|
|||
},
|
||||
methods: {
|
||||
unmuteUser() {
|
||||
this.$store.dispatch('unmuteUser', this.userId)
|
||||
useUsersStore().unmuteUser(this.user.id)
|
||||
},
|
||||
muteUser() {
|
||||
this.$refs.timedMuteDialog.optionallyPrompt()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue