Fixes bug on Grant Tab's validation when creating a new DMP.

This commit is contained in:
gkolokythas 2019-12-17 14:15:12 +02:00
parent 6cedc40339
commit c272644c61
1 changed files with 1 additions and 0 deletions

View File

@ -200,6 +200,7 @@ export class GrantTabComponent extends BaseComponent implements OnInit {
if ((funder.label !== "" && funder.label != null && funder.label !== undefined)
|| (funder.existFunder !== null && funder.existFunder !== undefined && funder.existFunder.id !== undefined)) {
this.grantformGroup.enable();
this.setGrantValidators();
}
else {
this.grantformGroup.reset();