mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 00:54:27 +00:00
Bugfix: reinitialize initialData in Prestudent Tab after saving
This commit is contained in:
@@ -104,6 +104,7 @@ export default {
|
|||||||
return this.$refs.form.factory.stv.prestudent.updatePrestudent(this.modelValue.prestudent_id, this.deltaArray)
|
return this.$refs.form.factory.stv.prestudent.updatePrestudent(this.modelValue.prestudent_id, this.deltaArray)
|
||||||
.then(response => {
|
.then(response => {
|
||||||
this.$fhcAlert.alertSuccess(this.$p.t('ui', 'successSave'));
|
this.$fhcAlert.alertSuccess(this.$p.t('ui', 'successSave'));
|
||||||
|
this.initialFormData = {...this.data};
|
||||||
this.deltaArray = [];
|
this.deltaArray = [];
|
||||||
this.actionUpdate = false;
|
this.actionUpdate = false;
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user