From 5aebcf8761e76d7d66acf2e067db75fe6505903d Mon Sep 17 00:00:00 2001 From: dweinholz Date: Fri, 21 Jun 2024 15:05:31 +0200 Subject: [PATCH] fix(Approval):fixed pi approvle 12 monts nfdi (#6100) --- .../application-formular/application-formular.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/applications/application-formular/application-formular.component.ts b/src/app/applications/application-formular/application-formular.component.ts index 62f161a73a..a14fce71d6 100644 --- a/src/app/applications/application-formular/application-formular.component.ts +++ b/src/app/applications/application-formular/application-formular.component.ts @@ -180,6 +180,9 @@ export class ApplicationFormularComponent extends ApplicationBaseClassComponent if (this.simple_vm_project) { this.simple_vm_min_vm = this.application.flavors.length > 0; } + if (this.application.project_application_nfdi && this.application.project_application_nfdi.length > 0) { + this.max_lifetime = 12; + } this.initiated_validation = true; } else { this.application = new Application(null);