Fix comments not being loaded again when switching between tasks
This commit is contained in:
parent
35d0058026
commit
28c2f3573d
1 changed files with 5 additions and 0 deletions
|
@ -102,6 +102,11 @@
|
||||||
mounted() {
|
mounted() {
|
||||||
this.loadComments()
|
this.loadComments()
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
taskID() {
|
||||||
|
this.loadComments()
|
||||||
|
}
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
loadComments() {
|
loadComments() {
|
||||||
this.taskCommentService.getAll({task_id: this.taskID})
|
this.taskCommentService.getAll({task_id: this.taskID})
|
||||||
|
|
Loading…
Reference in a new issue