commit: c9604eec9dd5d507a84d7e3de0365792e05a1d18
parent: 1190b439b31701e5304a81176422c241f85de438
Author: Roger Braun <roger@rogerbraun.net>
Date: Mon, 28 Nov 2016 13:36:19 +0100
Fetch conversation again on route change.
This might happen when you visit other convos via the notifications bar.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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) {