Merge branch 'fix/create_mute_block_info' into 'develop'

Bug fix: populate block/mute status on mute_card and block_card creation

See merge request pleroma/pleroma-fe!1478
This commit is contained in:
eris 2022-05-04 12:20:18 +00:00
commit e207ecaf27
3 changed files with 7 additions and 0 deletions

View File

@ -16,6 +16,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Attachments are ALWAYS in same order as user uploaded, no more "videos first"
- Attachment description is prefilled with backend-provided default when uploading
- Proper visual feedback that next image is loading when browsing
- Fixed current block and mute status not populating in block and mute settings menu
### Changed
- (You)s are optional (opt-in) now, bolding your nickname is also optional (opt-out)

View File

@ -7,6 +7,9 @@ const BlockCard = {
progress: false
}
},
created () {
this.$store.dispatch('fetchUserRelationship', this.user.id)
},
computed: {
user () {
return this.$store.getters.findUser(this.userId)

View File

@ -7,6 +7,9 @@ const MuteCard = {
progress: false
}
},
created () {
this.$store.dispatch('fetchUserRelationship', this.user.id)
},
computed: {
user () {
return this.$store.getters.findUser(this.userId)