diff --git a/dmp-frontend/src/app/ui/dataset/dataset-wizard/dataset-wizard.component.ts b/dmp-frontend/src/app/ui/dataset/dataset-wizard/dataset-wizard.component.ts index 246ebb445..8653f846d 100644 --- a/dmp-frontend/src/app/ui/dataset/dataset-wizard/dataset-wizard.component.ts +++ b/dmp-frontend/src/app/ui/dataset/dataset-wizard/dataset-wizard.component.ts @@ -129,9 +129,9 @@ export class DatasetWizardComponent extends BaseComponent implements OnInit, IBr this.viewOnly = true; } // if (this.viewOnly) { this.formGroup.disable(); } // For future use, to make Dataset edit like DMP. - //this.loadDatasetProfiles(); - //this.registerFormListeners(); - this.availableProfiles = this.datasetWizardModel.dmp.profiles; + this.loadDatasetProfiles(); + this.registerFormListeners(); + // this.availableProfiles = this.datasetWizardModel.dmp.profiles; if (this.formGroup.get('dmp').value.status == DmpStatus.Draft && this.formGroup.get('status').value == DatasetStatus.Finalized) { this.hasReversableStatus = true; @@ -156,7 +156,7 @@ export class DatasetWizardComponent extends BaseComponent implements OnInit, IBr this.loadDatasetProfiles(); this.registerFormListeners(); - this.availableProfiles = data.profiles; + // this.availableProfiles = data.profiles; this.breadCrumbs = Observable.of([ { @@ -221,7 +221,7 @@ export class DatasetWizardComponent extends BaseComponent implements OnInit, IBr } // if (this.viewOnly) { this.formGroup.disable(); } // For future use, to make Dataset edit like DMP. this.loadDatasetProfiles(); - this.availableProfiles = data.dmp.profiles; + // this.availableProfiles = data.dmp.profiles; }); } else if (this.publicId != null) { // For Finalized -> Public Datasets this.isNew = false;