Trigger attachment loading when switching the card sidebar
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -151,8 +151,13 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
created() {
|
watch: {
|
||||||
this.$store.dispatch('fetchAttachments', this.cardId)
|
cardId: {
|
||||||
|
immediate: true,
|
||||||
|
handler() {
|
||||||
|
this.$store.dispatch('fetchAttachments', this.cardId)
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleUploadFile(event) {
|
handleUploadFile(event) {
|
||||||
|
|||||||
Reference in New Issue
Block a user