Skip to content
Snippets Groups Projects
Commit 28e5aa51 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

update component data upon prop change, fixes #1809

Closes #1809

Merge request studip/studip!1189
parent dfacf2f1
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment