fix timing to prevent zgv autocomplete fields from being empty when switching from and to prestudent tab

This commit is contained in:
Harald Bamberger
2025-12-10 15:18:16 +01:00
parent c6686f56f6
commit 2bb58e24cc
@@ -122,7 +122,7 @@ export default {
},
methods: {
loadPrestudent() {
async loadPrestudent() {
return this.$api
.call(ApiStvPrestudent.get(this.modelValue.prestudent_id, this.currentSemester))
.then(result => result.data)
@@ -170,8 +170,8 @@ export default {
)
},
},
created() {
this.loadPrestudent();
async created() {
await this.loadPrestudent();
this.$api
.call(ApiStvPrestudent.getBezeichnungZGV())
.then(result => result.data)