diff --git a/dmp-frontend/src/app/ui/quick-wizard/dataset-editor/dataset-editor-wizard.component.ts b/dmp-frontend/src/app/ui/quick-wizard/dataset-editor/dataset-editor-wizard.component.ts index 0251024f0..72f746bb5 100644 --- a/dmp-frontend/src/app/ui/quick-wizard/dataset-editor/dataset-editor-wizard.component.ts +++ b/dmp-frontend/src/app/ui/quick-wizard/dataset-editor/dataset-editor-wizard.component.ts @@ -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) {