From 56badeae96ee39c31e65d6affb3afa7845f4c835 Mon Sep 17 00:00:00 2001 From: Jason Syrotuck Date: Tue, 7 Nov 2023 14:47:17 -0800 Subject: [PATCH] [FIX] cred exch states (#2788) --- .../core-web/src/components/mine/Permit/MinePermitTable.tsx | 4 ++-- .../verifiableCredentials/IssuePermitDigitalCredential.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/services/core-web/src/components/mine/Permit/MinePermitTable.tsx b/services/core-web/src/components/mine/Permit/MinePermitTable.tsx index c6a331bf12..f4d7f53cc0 100644 --- a/services/core-web/src/components/mine/Permit/MinePermitTable.tsx +++ b/services/core-web/src/components/mine/Permit/MinePermitTable.tsx @@ -113,7 +113,7 @@ const renderDeleteButtonForPermitAmendments = (record) => { okText={isLinkedToNowApplication ? "Ok" : "Delete"} cancelText="Cancel" onConfirm={ - isLinkedToNowApplication ? () => {} : () => record.handleDeletePermitAmendment(record) + isLinkedToNowApplication ? () => { } : () => record.handleDeletePermitAmendment(record) } >
@@ -358,7 +358,7 @@ const columns: ColumnsType = [ onConfirm={ isDeletionAllowed ? () => record.handleDeletePermit((record.permit as IPermit).permit_guid) - : () => {} + : () => { } } okText={isDeletionAllowed ? "Delete" : "Ok"} cancelText="Cancel" diff --git a/services/minespace-web/src/components/modalContent/verifiableCredentials/IssuePermitDigitalCredential.tsx b/services/minespace-web/src/components/modalContent/verifiableCredentials/IssuePermitDigitalCredential.tsx index c19252f88e..8d36374a4c 100644 --- a/services/minespace-web/src/components/modalContent/verifiableCredentials/IssuePermitDigitalCredential.tsx +++ b/services/minespace-web/src/components/modalContent/verifiableCredentials/IssuePermitDigitalCredential.tsx @@ -46,7 +46,7 @@ export const IssuePermitDigitalCredential: FC case VC_CRED_ISSUE_STATES.credential_acked: contentKey = "active"; break; - case VC_CRED_ISSUE_STATES.cred_offer: + case VC_CRED_ISSUE_STATES.offer_sent: contentKey = "pending"; break; default: