Fix issue with RDA Common Standards
This commit is contained in:
parent
29919f981a
commit
6de12fd0e8
|
@ -187,7 +187,7 @@
|
|||
<mat-label>{{'DATASET-PROFILE-EDITOR.STEPS.FORM.COMPOSITE-FIELD.FIELDS.RDA-COMMON-STANDARDS' | translate}}</mat-label>
|
||||
<mat-select [formControl]="this.form.get('rdaCommonStandard')">
|
||||
<mat-option>--</mat-option>
|
||||
<mat-option *ngFor="let property of rdaCommonStandards" [value]="property">
|
||||
<mat-option *ngFor="let property of datasetProfileService.getRDACommonStandards()" [value]="property">
|
||||
{{property}}
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
|
|
|
@ -44,7 +44,7 @@ export class DatasetProfileEditorFieldComponent extends BaseComponent implements
|
|||
@Output() delete = new EventEmitter<void>();
|
||||
|
||||
|
||||
rdaCommonStandards = this.datasetProfileService.getRDACommonStandards();
|
||||
//rdaCommonStandards = this.datasetProfileService.getRDACommonStandards(); //GK: Don't do that again. The service has a weird async behaviour.
|
||||
|
||||
constructor(
|
||||
public enumUtils: EnumUtils,
|
||||
|
@ -70,7 +70,6 @@ export class DatasetProfileEditorFieldComponent extends BaseComponent implements
|
|||
|
||||
|
||||
|
||||
|
||||
// if (this.form.get('multiplicity')) {
|
||||
// if (this.form.get('multiplicity').value.min > 1 && this.form.get('multiplicity').value.max > 1) {
|
||||
// this.isFieldMultiplicityEnabled = true;
|
||||
|
|
Loading…
Reference in New Issue