From 5ea1ddfb538a1697b0414108b50e0ebf1a4ba1d6 Mon Sep 17 00:00:00 2001 From: karan Date: Mon, 28 Aug 2023 14:08:30 +0530 Subject: [PATCH] fix:issuance-attribute-displayname Signed-off-by: karan --- src/components/Issuance/Issuance.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Issuance/Issuance.tsx b/src/components/Issuance/Issuance.tsx index f9a059d49..3881f66bc 100644 --- a/src/components/Issuance/Issuance.tsx +++ b/src/components/Issuance/Issuance.tsx @@ -38,8 +38,8 @@ interface IssuanceFormPayload { } interface DataTypeAttributes { - attributeName: string; schemaDataType: string; + displayName:string } const IssueCred = () => { @@ -84,7 +84,7 @@ const IssueCred = () => { orgId: number, ) => { const attrObj = attributes.map((attr) => ({ - name: attr.attributeName, + name: attr.displayName, value: '', dataType: attr.schemaDataType, })); @@ -268,7 +268,7 @@ const IssueCred = () => { className="w-1/3 pr-2 flex justify-end items-center font-light" > {attr.name.charAt(0).toUpperCase() + - attr.name.slice(1).toLowerCase()} + attr.name.slice(1).toLowerCase() + " :"}