From cb0f9dcbdfb1b747ec18f355ddd3a43ea255be70 Mon Sep 17 00:00:00 2001 From: Jean-Laurent DUZANT <jean-laurent.duzant@xelians.fr> Date: Mon, 1 Aug 2022 15:15:05 +0200 Subject: [PATCH] FIX #20391 TIME 0 fix processLimitDate undefined in model --- .../app/indexation/indexing-form/indexing-form.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/app/indexation/indexing-form/indexing-form.component.ts b/src/frontend/app/indexation/indexing-form/indexing-form.component.ts index eba8682b657..66a33eab2b3 100755 --- a/src/frontend/app/indexation/indexing-form/indexing-form.component.ts +++ b/src/frontend/app/indexation/indexing-form/indexing-form.component.ts @@ -1264,7 +1264,7 @@ export class IndexingFormComponent implements OnInit { } calcLimitDateByPriority(field: any, value: any) { - if (this.functions.empty(value)) { + if (this.functions.empty(value) && this.functions.empty(this.arrFormControl['processLimitDate'])) { this.arrFormControl['processLimitDate'].setValue(null); return; } -- GitLab