lint, fix warnings

This commit is contained in:
Henry Jameson 2021-06-07 16:37:12 +03:00
parent b0ae32e309
commit aec05686d0
2 changed files with 28 additions and 7 deletions

View file

@ -169,10 +169,9 @@ const StatusContent = {
RichContent
},
mounted () {
const { attentions } = this.status
attentions.forEach(attn => {
this.status.attentions.forEach(attn => {
const { id } = attn
this.$store.state.api.backendInteractor.fetchUserIfMissing(this.$store, id)
this.$store.dispatch('fetchUserIfMissing', id)
})
},
methods: {