Fixes bug on Grant Tab's validation when creating a new DMP.
This commit is contained in:
parent
6cedc40339
commit
c272644c61
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue