mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 16:02:15 +00:00
Bugfix Creditpoints
This commit is contained in:
@@ -89,7 +89,7 @@ export default {
|
||||
buchungstext: '',
|
||||
mahnspanne: 30,
|
||||
studiensemester_kurzbz: this.defaultSemester,
|
||||
credit_points: '',
|
||||
credit_points: null,
|
||||
anmerkung: ''
|
||||
};
|
||||
this.$refs.modal.show();
|
||||
@@ -110,7 +110,7 @@ export default {
|
||||
if (!this.data.buchungstext)
|
||||
this.data.buchungstext = text;
|
||||
|
||||
if (this.config.showCreditpoints && this.data.credit_points == '0.00')
|
||||
if (this.config.showCreditpoints && (this.data.credit_points == '0.00' || this.data.credit_points === null))
|
||||
this.data.credit_points = creditpoints;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user