Fix comments not being loaded again when switching between tasks
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
35d0058026
commit
28c2f3573d
|
@ -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})
|
||||||
|
|
Reference in New Issue
Block a user