Fixes bug on enumerating datasets at DMP Wizard 3d step when remove all datasets and then add new.
This commit is contained in:
parent
27ddc0a184
commit
f1070196a0
|
@ -81,6 +81,9 @@ export class DatasetEditorWizardComponent extends BaseComponent implements OnIni
|
|||
this.editedDataset = false;
|
||||
this._inputValue = "list";
|
||||
(this.formGroup.get('datasets').get('datasetsList') as FormArray).removeAt(index);
|
||||
if (index == 0) {
|
||||
this.isFirst = true;
|
||||
}
|
||||
}
|
||||
|
||||
addDataset(isFirst: boolean) {
|
||||
|
|
Loading…
Reference in New Issue