Fix comments not being loaded again when switching between tasks

This commit is contained in:
kolaente 2020-03-23 18:29:25 +01:00
parent 35d0058026
commit 28c2f3573d
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -102,6 +102,11 @@
mounted() {
this.loadComments()
},
watch: {
taskID() {
this.loadComments()
}
},
methods: {
loadComments() {
this.taskCommentService.getAll({task_id: this.taskID})