diff --git a/public/js/components/Stv/Studentenverwaltung/Details/Prestudent/MultiStatus.js b/public/js/components/Stv/Studentenverwaltung/Details/Prestudent/MultiStatus.js index a0eb81491..43da6bd2d 100644 --- a/public/js/components/Stv/Studentenverwaltung/Details/Prestudent/MultiStatus.js +++ b/public/js/components/Stv/Studentenverwaltung/Details/Prestudent/MultiStatus.js @@ -283,7 +283,9 @@ export default{ actionButton: {}, actionStatusText: {}, actionSem: null, - newArray: {} + newArray: {}, + abbruchData: {}, + newStatus: '' } }, watch: { @@ -511,8 +513,13 @@ export default{ console.log("singleNew"); } else{ - let newStatus = this.newArray[0].status_kurzbz; - console.log(`Successful: ${countSuccess}, Errors: ${countError}`); + if(this.newArray.length > 0) { + this.newStatus = this.newArray[0].status_kurzbz; + console.log(`Successful: ${countSuccess}, Errors: ${countError}`); + } + else { + this.newStatus = this.statusData.status_kurzbz; + } } @@ -521,7 +528,7 @@ export default{ if (countSuccess > 0) { this.$fhcAlert.alertInfo(this.$p.t('ui', 'successNewStatus', { 'countSuccess': countSuccess, - 'status': newStatus, + 'status': this.newStatus, 'countError': countError })); } @@ -684,8 +691,8 @@ export default{ - -
+
+

Details {{modelValue.nachname}} {{modelValue.vorname}}

@@ -840,17 +847,18 @@ export default{ - -
- {{$p.t('bismeldestichtag', 'info_MeldestichtagStatusgrund')}} -
-
- {{$p.t('bismeldestichtag', 'info_MeldestichtagStatusgrundSemester')}} -
- - -
+

Details {{modelValue.nachname}} {{modelValue.vorname}}

+ +
+ {{$p.t('bismeldestichtag', 'info_MeldestichtagStatusgrund')}} +
+
+ {{$p.t('bismeldestichtag', 'info_MeldestichtagStatusgrundSemester')}} +
+ + +