diff --git a/src/components/Verification/AttributesListData.tsx b/src/components/Verification/AttributesListData.tsx index 7ed9ee086..845682abe 100644 --- a/src/components/Verification/AttributesListData.tsx +++ b/src/components/Verification/AttributesListData.tsx @@ -10,12 +10,12 @@ interface AttributesListProps {
-
+
Attributes
-
+
{' '} Values
@@ -25,18 +25,18 @@ interface AttributesListProps { attributeDataList?.map((item, index) => (
-
+
{item?.entity}
:
-
+
{item?.properties.join(', ')}
diff --git a/src/components/Verification/SchemaCredDefDetails.tsx b/src/components/Verification/SchemaCredDefDetails.tsx index d1cf1b9d2..f0251d8a5 100644 --- a/src/components/Verification/SchemaCredDefDetails.tsx +++ b/src/components/Verification/SchemaCredDefDetails.tsx @@ -10,16 +10,26 @@ const SchemaCredDefDetails = ({ schemaCredDefList }: SchemaCredDefProps) => { {schemaCredDefList.map((item) => (
-
-
- Schema Id -
-
:
{' '} -
- {Object.values(item)[2]} + + {Object.values(item)[2] ? ( +
+
+ {Object.values(item)[2] ? 'Schema Id' : ''} +
{' '} +
+ {' '} + : +
{' '} +
+ {Object.values(item)[2] + ? Object.values(item)[2] + : ''} +
-
+ ) : ( + '' + )} + {Object.values(item)[1] ? (
@@ -29,7 +39,7 @@ const SchemaCredDefDetails = ({ schemaCredDefList }: SchemaCredDefProps) => { {' '} :
{' '} -
+
{Object.values(item)[1] ? Object.values(item)[1] : ''}