Fix bug: discard button should disappear after save on dataset editor

This commit is contained in:
apapachristou 2020-11-12 18:18:09 +02:00
parent 50fc4612b7
commit 77b9a84105
1 changed files with 1 additions and 0 deletions

View File

@ -648,6 +648,7 @@ export class DatasetWizardComponent extends BaseComponent implements OnInit, IBr
this.formGroup.get('id').patchValue(data.id); this.formGroup.get('id').patchValue(data.id);
this.formGroup.get('modified').patchValue(data.modified); this.formGroup.get('modified').patchValue(data.modified);
this.formGroupRawValue = JSON.parse(JSON.stringify(this.formGroup.getRawValue())); this.formGroupRawValue = JSON.parse(JSON.stringify(this.formGroup.getRawValue()));
this.hasChanges = false;
// this.formGroup = this.datasetWizardModel.buildForm(); // this.formGroup = this.datasetWizardModel.buildForm();
// if (this.formGroup.get('datasetProfileDefinition')) { // if (this.formGroup.get('datasetProfileDefinition')) {