From 4179e2651d584973b2655d9b96368c23cd79db7a Mon Sep 17 00:00:00 2001 From: Jean-Pascal <jean-pascal.aubry@inrae.fr> Date: Thu, 18 Jan 2024 15:20:59 +0000 Subject: [PATCH] fix: remove merging errors Refs #609 --- .../select-field-line/select-field-line.component.ts | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/app/components/select-field-line/select-field-line.component.ts b/src/app/components/select-field-line/select-field-line.component.ts index d2d65daa9..5f057b378 100644 --- a/src/app/components/select-field-line/select-field-line.component.ts +++ b/src/app/components/select-field-line/select-field-line.component.ts @@ -57,6 +57,7 @@ export class SelectFieldLineComponent implements OnInit { } } + protected entryLabel(entry: SelectEntry): string { return decodeHtml(entry.label); } @@ -88,16 +89,6 @@ export class SelectFieldLineComponent implements OnInit { return false } } - } - - if(this._select.getValue() !== undefined) { - if(Object.keys(this._select.getValue()).length > 0) { - return true; - } - else { - return false - } - } else { return false } -- GitLab