diff options
author | Florian Dold <florian@dold.me> | 2023-06-24 17:54:15 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-06-24 17:54:15 +0200 |
commit | fbab16ef23fb216c8322cdb1fa7e92173fa73133 (patch) | |
tree | cb0f70543aebdd1dc12537928c457f1e2a77dfaf /packages/taler-wallet-core/src/operations | |
parent | 1f31ebc3cc4b116f4d762f974e803c7ef85ab51f (diff) | |
download | wallet-core-fbab16ef23fb216c8322cdb1fa7e92173fa73133.tar.xz |
wallet-core: allow deleting a peer-push-credit transaction in dialog state
Diffstat (limited to 'packages/taler-wallet-core/src/operations')
-rw-r--r-- | packages/taler-wallet-core/src/operations/pay-peer-push-credit.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/pay-peer-push-credit.ts b/packages/taler-wallet-core/src/operations/pay-peer-push-credit.ts index 341dccb7a..b2f641b80 100644 --- a/packages/taler-wallet-core/src/operations/pay-peer-push-credit.ts +++ b/packages/taler-wallet-core/src/operations/pay-peer-push-credit.ts @@ -928,7 +928,7 @@ export function computePeerPushCreditTransactionActions( ): TransactionAction[] { switch (pushCreditRecord.status) { case PeerPushPaymentIncomingStatus.DialogProposed: - return []; + return [TransactionAction.Delete]; case PeerPushPaymentIncomingStatus.PendingMerge: return [TransactionAction.Abort, TransactionAction.Suspend]; case PeerPushPaymentIncomingStatus.Done: |