From c9604eec9dd5d507a84d7e3de0365792e05a1d18 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Mon, 28 Nov 2016 13:36:19 +0100 Subject: [PATCH] Fetch conversation again on route change. This might happen when you visit other convos via the notifications bar. --- src/components/conversation/conversation.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/conversation/conversation.js b/src/components/conversation/conversation.js index 20540ed3..3b9cdbf7 100644 --- a/src/components/conversation/conversation.js +++ b/src/components/conversation/conversation.js @@ -27,6 +27,9 @@ const conversation = { created () { this.fetchConversation() }, + watch: { + '$route': 'fetchConversation' + }, methods: { fetchConversation () { if (this.status) {