more replacements

This commit is contained in:
Henry Jameson 2026-08-18 03:51:34 +03:00
commit 18305ce8f0
2 changed files with 3 additions and 7 deletions

View file

@ -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()

View file

@ -32,7 +32,7 @@ const MuteCard = {
},
methods: {
unmuteUser() {
this.$store.dispatch('unmuteUser', this.userId)
useUsersStore().unmuteUser(this.user.id)
},
muteUser() {
this.$refs.timedMuteDialog.optionallyPrompt()