From 1721bfba8ab1a080b1b3720f0f952299e1116b87 Mon Sep 17 00:00:00 2001 From: Damian Borowiecki Date: Wed, 2 Oct 2024 12:41:37 +0200 Subject: [PATCH] OP-1903: Fixed PH display in PolicyHoldeerUsers List --- src/components/PolicyHolderUserSearcher.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/components/PolicyHolderUserSearcher.js b/src/components/PolicyHolderUserSearcher.js index 20c7773..3ff2921 100644 --- a/src/components/PolicyHolderUserSearcher.js +++ b/src/components/PolicyHolderUserSearcher.js @@ -147,17 +147,9 @@ class PolicyHolderUserSearcher extends Component { ` : "", ]; - if (predefinedPolicyHolderId === null) { result.push((policyHolderUser) => ( - + !!policyHolderUser.policyHolder ? `${policyHolderUser.policyHolder.code} - ${policyHolderUser.policyHolder.tradeName}` : '' )); - } result.push( (policyHolderUser) => !!policyHolderUser.dateValidFrom