Skip to content

Commit a0fb47e

Browse files
committed
Fix undefined credential label in pending requests page
1 parent b0e2b2c commit a0fb47e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
"pagePending": {
213213
"description": "View pending issuance requests",
214214
"noFound": "No pending issuance requests found",
215-
"title": "Pending issuance requests"
215+
"title": "Pending Issuance Requests"
216216
},
217217
"pageSendCredentials": {
218218
"description": "Search and choose a verifier to share credentials with",

src/pages/Pending/Pending.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ const Pending = () => {
6363
const md = issuerMd[pt.credentialIssuerIdentifier];
6464
const cfg = md?.credential_configurations_supported?.[pt.credentialConfigurationId];
6565
const issuer = md ? filterItemByLang(md.display, "locale")?.name : null;
66-
const cred = cfg ? filterItemByLang(cfg.display, "locale")?.name : null;
67-
66+
const cred = cfg ? filterItemByLang(cfg.credential_metadata.display, "locale")?.name : null;
6867
return (
6968
<div
7069
key={pt.credentialEndpoint.transactionId}

0 commit comments

Comments
 (0)