From 28e5aa51d8e8169401ebbcce0f19a17578656de3 Mon Sep 17 00:00:00 2001
From: Jan-Hendrik Willms <tleilax+studip@gmail.com>
Date: Thu, 24 Nov 2022 08:54:58 +0000
Subject: [PATCH] update component data upon prop change, fixes #1809

Closes #1809

Merge request studip/studip!1189
---
 resources/vue/components/BlubberThread.vue | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/resources/vue/components/BlubberThread.vue b/resources/vue/components/BlubberThread.vue
index b5d287d4aaf..eb6e44d312d 100644
--- a/resources/vue/components/BlubberThread.vue
+++ b/resources/vue/components/BlubberThread.vue
@@ -492,6 +492,9 @@
             });
         },
         watch: {
+            thread_data(current) {
+                this.threadData = current;
+            },
             threadData (new_data, old_data) {
                 if (new_data.thread_posting.thread_id !== old_data.thread_posting.thread_id) {
                     //if the thread got reloaded by a new thread
-- 
GitLab