Fixes bug on New Dataset, on tab Description
This commit is contained in:
parent
d7a9815196
commit
9de8e7d723
|
@ -170,6 +170,7 @@ export class DatasetWizardComponent extends BaseComponent implements OnInit, IBr
|
|||
});
|
||||
});
|
||||
} else if (dmpId != null) {
|
||||
console.log("inhere");
|
||||
this.isNew = true;
|
||||
this.dmpService.getSingle(dmpId).map(data => data as DmpModel)
|
||||
.pipe(takeUntil(this._destroyed))
|
||||
|
@ -184,6 +185,16 @@ export class DatasetWizardComponent extends BaseComponent implements OnInit, IBr
|
|||
this.viewOnly = true;
|
||||
}
|
||||
this.loadDatasetProfiles();
|
||||
this.formGroup.get('dmp').valueChanges
|
||||
.pipe(takeUntil(this._destroyed))
|
||||
.subscribe(() => {
|
||||
this.dmpValueChanged(this.formGroup.get('dmp').value);
|
||||
});
|
||||
this.formGroup.get('profile').valueChanges
|
||||
.pipe(takeUntil(this._destroyed))
|
||||
.subscribe(x => {
|
||||
this.datasetProfileValueChanged(x);
|
||||
});
|
||||
this.breadCrumbs = Observable.of([
|
||||
{
|
||||
parentComponentName: null,
|
||||
|
|
Loading…
Reference in New Issue