Minor fix over cost listing

This commit is contained in:
George Kalampokis 2020-07-02 18:35:16 +03:00
parent 094cff06b1
commit 7127f6dbd6
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ export class ExtraPropertiesFormModel {
const costArray = new Array<FormGroup>();
//if (this.externalDatasets && this.externalDatasets.length > 0) {
this.costs.forEach(item => {
costArray.push(item.buildForm(context.getValidation('costs').descendantValidations, disabled));
costArray.push(item.buildForm(context.getValidation('costs').descendantValidations, true));
});
// } else {
// //externalDatasetsFormArray.push(new ExternalDatasetModel().buildForm(context.getValidation('externalDatasets').descendantValidations, disabled));