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

View file

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