Skip to content

Commit

Permalink
[FIX] cred exch states (#2788)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jsyro authored Nov 7, 2023
1 parent 7a30f9e commit 56badea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const renderDeleteButtonForPermitAmendments = (record) => {
okText={isLinkedToNowApplication ? "Ok" : "Delete"}
cancelText="Cancel"
onConfirm={
isLinkedToNowApplication ? () => {} : () => record.handleDeletePermitAmendment(record)
isLinkedToNowApplication ? () => { } : () => record.handleDeletePermitAmendment(record)
}
>
<div className="custom-menu-item">
Expand Down Expand Up @@ -358,7 +358,7 @@ const columns: ColumnsType<MinePermitTableItem> = [
onConfirm={
isDeletionAllowed
? () => record.handleDeletePermit((record.permit as IPermit).permit_guid)
: () => {}
: () => { }
}
okText={isDeletionAllowed ? "Delete" : "Ok"}
cancelText="Cancel"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const IssuePermitDigitalCredential: FC<IssuePermitDigitalCredentialProps>
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:
Expand Down

0 comments on commit 56badea

Please sign in to comment.