Skip to content

Commit

Permalink
Injimob 878 bug fix (#1359)
Browse files Browse the repository at this point in the history
* [INJIMOB-878]: replace all references of VC to VCMeta
* [INJIMOB-878]: remove credential logging
* [INJIMOB-878]: fix status display on VC details page

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
  • Loading branch information
Alka1703 authored Apr 3, 2024
1 parent 3fb4a3d commit ce2c349
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion components/VC/common/VCUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,12 @@ export const getFieldValue = (
}
switch (field) {
case 'status':
return <VCVerification wellknown={wellknown} isVerified={props.vc} />;
return (
<VCVerification
wellknown={wellknown}
isVerified={props.credential !== null}
/>
);
case 'idType':
return getIDType(verifiableCredential);
case 'credentialRegistry':
Expand Down

0 comments on commit ce2c349

Please sign in to comment.