Fetch conversation again on route change.

This might happen when you visit other convos via the notifications bar.
This commit is contained in:
Roger Braun 2016-11-28 13:36:19 +01:00
parent 1190b439b3
commit c9604eec9d

View file

@ -27,6 +27,9 @@ const conversation = {
created () {
this.fetchConversation()
},
watch: {
'$route': 'fetchConversation'
},
methods: {
fetchConversation () {
if (this.status) {