From b08ac084c90412a345ff0f914b9bc54945299c66 Mon Sep 17 00:00:00 2001 From: gkolokythas Date: Fri, 4 Oct 2019 18:24:13 +0300 Subject: [PATCH] Fixes bug on not reseting the Grant selection method on Grant Tab of DMP editor. --- .../src/app/ui/dmp/editor/grant-tab/grant-tab.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/dmp-frontend/src/app/ui/dmp/editor/grant-tab/grant-tab.component.ts b/dmp-frontend/src/app/ui/dmp/editor/grant-tab/grant-tab.component.ts index 86b03927a..f76bf72e1 100644 --- a/dmp-frontend/src/app/ui/dmp/editor/grant-tab/grant-tab.component.ts +++ b/dmp-frontend/src/app/ui/dmp/editor/grant-tab/grant-tab.component.ts @@ -196,6 +196,7 @@ export class GrantTabComponent extends BaseComponent implements OnInit { else { this.grantformGroup.reset(); this.grantformGroup.disable(); + if (this.isCreateNew) this.isCreateNew = !this.isCreateNew; } }