Skip to content

Commit

Permalink
fix:issuance-attribute-displayname
Browse files Browse the repository at this point in the history
Signed-off-by: karan <[email protected]>
  • Loading branch information
16-karan committed Aug 28, 2023
1 parent fee165b commit 5ea1ddf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Issuance/Issuance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ interface IssuanceFormPayload {
}

interface DataTypeAttributes {
attributeName: string;
schemaDataType: string;
displayName:string
}

const IssueCred = () => {
Expand Down Expand Up @@ -84,7 +84,7 @@ const IssueCred = () => {
orgId: number,
) => {
const attrObj = attributes.map((attr) => ({
name: attr.attributeName,
name: attr.displayName,
value: '',
dataType: attr.schemaDataType,
}));
Expand Down Expand Up @@ -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() + " :"}
</label>
<Field
type={
Expand Down

0 comments on commit 5ea1ddf

Please sign in to comment.