diff --git a/src/generated/client/types.gen.ts b/src/generated/client/types.gen.ts index ab59c0c..4782774 100644 --- a/src/generated/client/types.gen.ts +++ b/src/generated/client/types.gen.ts @@ -126,6 +126,14 @@ export type AnonPublicData = { /** * --------------------------- Quote info request */ + +export type MintingStatus = { + status: 'Disabled' +} | { + status: 'Enabled'; + minted: number; +}; + export type InfoReply = { bill: BillInfo; id: string; @@ -160,6 +168,7 @@ export type InfoReply = { keyset_id: string; discounted: number; status: 'Accepted'; + minting_status: MintingStatus; } | { bill: BillInfo; id: string; diff --git a/src/pages/quotes/QuotePage.tsx b/src/pages/quotes/QuotePage.tsx index 137ba2e..995f4ca 100644 --- a/src/pages/quotes/QuotePage.tsx +++ b/src/pages/quotes/QuotePage.tsx @@ -220,13 +220,13 @@ function DenyConfirmDrawer({ children, onSubmit, ...drawerProps }: DenyConfirmDr function QuoteActions({ value, isFetching, - newKeyset, + mintingEnabled, ebillPaid, requestedToPay, }: { value: InfoReply isFetching: boolean - newKeyset: boolean + mintingEnabled: boolean ebillPaid: boolean requestedToPay: boolean }) { @@ -471,7 +471,7 @@ function QuoteActions({ trigger={