aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2016-11-28 13:36:19 +0100
committerRoger Braun <roger@rogerbraun.net>2016-11-28 13:36:19 +0100
commitc9604eec9dd5d507a84d7e3de0365792e05a1d18 (patch)
treedc9a55788164cc1398b9f6e5ad4be493f9a0e142 /src
parent1190b439b31701e5304a81176422c241f85de438 (diff)
Fetch conversation again on route change.
This might happen when you visit other convos via the notifications bar.
Diffstat (limited to 'src')
-rw-r--r--src/components/conversation/conversation.js3
1 files changed, 3 insertions, 0 deletions
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) {