From 3ac480faed26d1fabc832da0b317c74fe7a3e6d3 Mon Sep 17 00:00:00 2001 From: gkatrakazas Date: Mon, 7 Oct 2024 13:17:55 +0300 Subject: [PATCH] wip --- src/components/Credentials/CredentialImage.js | 2 +- src/components/Credentials/StatusRibbon1.js | 2 +- src/components/Popups/SelectCredentials.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Credentials/CredentialImage.js b/src/components/Credentials/CredentialImage.js index fc5b7365..1a376023 100644 --- a/src/components/Credentials/CredentialImage.js +++ b/src/components/Credentials/CredentialImage.js @@ -41,7 +41,7 @@ export const CredentialImage = ({ credential, className, onClick, showRibbon = t {/* {showRibbon && } */} - {/* {showRibbon && } */} + {showRibbon && } )} diff --git a/src/components/Credentials/StatusRibbon1.js b/src/components/Credentials/StatusRibbon1.js index c477e63f..9346dab4 100644 --- a/src/components/Credentials/StatusRibbon1.js +++ b/src/components/Credentials/StatusRibbon1.js @@ -11,7 +11,7 @@ const StatusRibbon = ({ credential }) => { const { t } = useTranslation(); const [parsedCredential, setParsedCredential] = useState(null); - const uses = 14; + const uses = 98; const CheckExpired = (expDate) => { const today = new Date(); const expirationDate = new Date(expDate); diff --git a/src/components/Popups/SelectCredentials.js b/src/components/Popups/SelectCredentials.js index 257ad683..037c7b26 100644 --- a/src/components/Popups/SelectCredentials.js +++ b/src/components/Popups/SelectCredentials.js @@ -64,7 +64,7 @@ function SelectCredentials({ showPopup, setShowPopup, setSelectionMap, conforman const keys = useMemo(() => Object.keys(conformantCredentialsMap), [conformantCredentialsMap]); console.log(keys); const stepTitles = useMemo(() => - Object.keys(conformantCredentialsMap).map(key => key.replace('VerifiableId', 'PID').replace('EuropeanHealthInsuranceCard', 'EHIC')), + Object.keys(conformantCredentialsMap).map(key => key.replace('VerifiableId', 'PID').replace('EuropeanHealthInsuranceCard', 'EHIC').replace('VID', 'PID')), [conformantCredentialsMap] );