wallet-core: allow deleting a peer-push-credit transaction in dialog state
This commit is contained in:
parent
1f31ebc3cc
commit
fbab16ef23
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user