diff options
| author | Henry Jameson <me@hjkos.com> | 2021-06-07 16:37:12 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2021-06-07 18:41:47 +0300 |
| commit | aec05686d0fa300b8b8348d8d1ba2724d1dd0014 (patch) | |
| tree | e9685fd1d473c6dd2e5c00f815f485787d1060e1 /src/components/status_content | |
| parent | b0ae32e309134f0e91026c6712f2e9081f493c22 (diff) | |
lint, fix warnings
Diffstat (limited to 'src/components/status_content')
| -rw-r--r-- | src/components/status_content/status_content.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/components/status_content/status_content.js b/src/components/status_content/status_content.js index 79408e38..c21afc24 100644 --- a/src/components/status_content/status_content.js +++ b/src/components/status_content/status_content.js @@ -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: { |
