From f4ab138ccb1127b9f1b001efbd937d27bb34c219 Mon Sep 17 00:00:00 2001
From: albinagu <47886428+albinagu@users.noreply.github.com>
Date: Mon, 23 Sep 2024 11:03:32 +0000
Subject: [PATCH] fix(service-portal): signature collection paper signees tweak
(#16108)
* fix(service-portal): signature collection paper signees tweak
* module name tweak sp
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
---
libs/service-portal/signature-collection/src/module.tsx | 2 +-
.../Parliamentary/OwnerView/ViewList/Signees/PaperSignees.tsx | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libs/service-portal/signature-collection/src/module.tsx b/libs/service-portal/signature-collection/src/module.tsx
index 50bc7c53217f..0474999b3b3d 100644
--- a/libs/service-portal/signature-collection/src/module.tsx
+++ b/libs/service-portal/signature-collection/src/module.tsx
@@ -37,7 +37,7 @@ export const signatureCollectionModule: PortalModule = {
element: ,
},
{
- name: m.signatureCollectionPresidentialLists,
+ name: m.signatureCollectionParliamentaryLists,
path: SignatureCollectionPaths.ViewParliamentaryList,
enabled: userInfo.scopes.includes(ApiScope.signatureCollection),
key: 'ParliamentaryLists',
diff --git a/libs/service-portal/signature-collection/src/screens/Parliamentary/OwnerView/ViewList/Signees/PaperSignees.tsx b/libs/service-portal/signature-collection/src/screens/Parliamentary/OwnerView/ViewList/Signees/PaperSignees.tsx
index f101e7bd3d80..877cf5b5bd8f 100644
--- a/libs/service-portal/signature-collection/src/screens/Parliamentary/OwnerView/ViewList/Signees/PaperSignees.tsx
+++ b/libs/service-portal/signature-collection/src/screens/Parliamentary/OwnerView/ViewList/Signees/PaperSignees.tsx
@@ -126,7 +126,7 @@ export const PaperSignees = ({
}}
error={nationalIdTypo ? ' ' : undefined}
loading={loading || loadingCanSign}
- icon={canSign ? 'checkmark' : undefined}
+ icon={name && canSign ? 'checkmark' : undefined}
/>
@@ -156,7 +156,7 @@ export const PaperSignees = ({