mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-20 21:49:27 +00:00
fix timing to prevent zgv autocomplete fields from being empty when switching from and to prestudent tab
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user