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
|
this.inProgress = true
|
||||||
useUsersStore()
|
useUsersStore()
|
||||||
.followUser(this.relationship.id)
|
.followUser(this.relationship.id)
|
||||||
.then(() => {
|
.finally(() => {
|
||||||
this.inProgress = false
|
this.inProgress = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
@ -79,12 +79,8 @@ export default {
|
||||||
this.inProgress = true
|
this.inProgress = true
|
||||||
useUsersStore()
|
useUsersStore()
|
||||||
.unfollowUser(this.relationship.id)
|
.unfollowUser(this.relationship.id)
|
||||||
.then(() => {
|
.finally(() => {
|
||||||
this.inProgress = false
|
this.inProgress = false
|
||||||
store.commit('removeStatus', {
|
|
||||||
timeline: 'friends',
|
|
||||||
userId: this.relationship.id,
|
|
||||||
})
|
|
||||||
})
|
})
|
||||||
|
|
||||||
this.hideConfirmUnfollow()
|
this.hideConfirmUnfollow()
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ const MuteCard = {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
unmuteUser() {
|
unmuteUser() {
|
||||||
this.$store.dispatch('unmuteUser', this.userId)
|
useUsersStore().unmuteUser(this.user.id)
|
||||||
},
|
},
|
||||||
muteUser() {
|
muteUser() {
|
||||||
this.$refs.timedMuteDialog.optionallyPrompt()
|
this.$refs.timedMuteDialog.optionallyPrompt()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue