Fix comments not being loaded again when switching between tasks
This commit is contained in:
@ -102,6 +102,11 @@
|
||||
mounted() {
|
||||
this.loadComments()
|
||||
},
|
||||
watch: {
|
||||
taskID() {
|
||||
this.loadComments()
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
loadComments() {
|
||||
this.taskCommentService.getAll({task_id: this.taskID})
|
||||
|
Reference in New Issue
Block a user