diff --git a/src/api/issuance.ts b/src/api/issuance.ts
index 4157b0fa4..0706f5b5d 100644
--- a/src/api/issuance.ts
+++ b/src/api/issuance.ts
@@ -7,7 +7,7 @@ import { getFromLocalStorage } from './Auth';
export const getIssuedCredentials = async (state: IssueCredential) => {
const orgId = await getFromLocalStorage(storageKeys.ORG_ID);
- const url = `${apiRoutes.Issuance.getIssuedCredentials}?orgId=${orgId}&state=${state}`;
+ const url = `${apiRoutes.Issuance.getIssuedCredentials}?orgId=${orgId}`;
const axiosPayload = {
url,
diff --git a/src/commonComponents/SchemaCard.tsx b/src/commonComponents/SchemaCard.tsx
index af479cd5d..b2289fc6a 100644
--- a/src/commonComponents/SchemaCard.tsx
+++ b/src/commonComponents/SchemaCard.tsx
@@ -1,7 +1,7 @@
import { Card } from 'flowbite-react';
import { dateConversion } from '../utils/DateConversion';
-const SchemaCard = (props: { schemaName: string, version: string, schemaId: string, issuerDid: string, attributes: string[], created: string, onClickCallback: (schemaId: string) => void; },) => {
+const SchemaCard = (props: {className:string, schemaName: string, version: string, schemaId: string, issuerDid: string, attributes: string[], created: string, onClickCallback: (schemaId: string) => void; },) => {
return (
{dateConversion(props.created)}
-
diff --git a/src/commonComponents/datatable/index.tsx b/src/commonComponents/datatable/index.tsx
index a2ae742e3..db59afe5e 100644
--- a/src/commonComponents/datatable/index.tsx
+++ b/src/commonComponents/datatable/index.tsx
@@ -6,9 +6,10 @@ interface DataTableProps {
data: TableData[];
loading: boolean;
callback?: (clickId: string | null | undefined) => void;
+ displaySelect?:boolean;
}
-const DataTable: React.FC callback ? callback(ele?.clickId) : ''}>
+ callback ? callback(ele?.clickId) : ''}>
{ele.data.map(subEle => (
)) :
))}
+ {displaySelect &&
+
+ }
}
diff --git a/src/components/Issuance/CredDefSelection.tsx b/src/components/Issuance/CredDefSelection.tsx
index 126bf6986..2d6f7437b 100644
--- a/src/components/Issuance/CredDefSelection.tsx
+++ b/src/components/Issuance/CredDefSelection.tsx
@@ -117,8 +117,12 @@ const CredDefSelection = () => {
color="info"
/>
No Data Found