Add a watch on gdt prop and when changed to true loads the gdt datas.

This commit is contained in:
elweyn 2023-01-18 12:18:30 +01:00
parent 1c12cf45bb
commit 1a0dfa0e45

View File

@ -79,7 +79,7 @@ export default {
this.$emit('update-transactions', pagination)
},
},
created() {
mounted() {
if (this.gdt) {
this.updateGdt()
}
@ -90,6 +90,11 @@ export default {
this.updateGdt()
}
},
gdt() {
if (this.gdt) {
this.updateGdt()
}
},
},
}
</script>