diff options
| author | Henry Jameson <me@hjkos.com> | 2019-03-21 22:49:26 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2019-03-21 22:49:26 +0200 |
| commit | ee94a6732aff8a4ab64ca885e07d53f58bfb4cb4 (patch) | |
| tree | 1c9c0d16a5fb54882038ee19fff3969a873c8928 /src | |
| parent | 307b4ba698fd87b3a6cabbe18a1f78513d414e33 (diff) | |
why did i do that
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/conversation/conversation.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/conversation/conversation.js b/src/components/conversation/conversation.js index fd4303ca..32bab144 100644 --- a/src/components/conversation/conversation.js +++ b/src/components/conversation/conversation.js @@ -93,6 +93,11 @@ const conversation = { statuses.forEach(status => this.relevantIds.push(status.id)) }) .then(() => this.setHighlight(this.statusId)) + } else { + const id = this.$route.params.id + this.$store.state.api.backendInteractor.fetchStatus({id}) + .then((status) => this.$store.dispatch('addNewStatuses', { statuses: [status] })) + .then(() => this.fetchConversation()) } }, getReplies (id) { |
