Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
gkatrakazas committed Oct 7, 2024
1 parent 99e93fc commit 3ac480f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Credentials/CredentialImage.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const CredentialImage = ({ credential, className, onClick, showRibbon = t
{/* {showRibbon &&
<StatusRibbon credential={credential} />
} */}
{/* {showRibbon && <StatusRibbon credential={credential} />} */}
{showRibbon && <StatusRibbon credential={credential} />}
</>
)}
</>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Credentials/StatusRibbon1.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/components/Popups/SelectCredentials.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]
);

Expand Down

0 comments on commit 3ac480f

Please sign in to comment.