[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: show the qr when is ready
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: show the qr when is ready |
Date: |
Tue, 31 Oct 2023 13:58:36 +0100 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new e74bf05af show the qr when is ready
e74bf05af is described below
commit e74bf05af76f2165eff0dd3791f3f1a4a7a673fc
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Tue Oct 31 09:58:31 2023 -0300
show the qr when is ready
---
.../src/wallet/Transaction.tsx | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
index 422695367..fa4b75639 100644
--- a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
@@ -873,6 +873,7 @@ export function TransactionView({
kind="neutral"
/>
{transaction.txState.major === TransactionMajorState.Pending &&
+ transaction.txState.minor === TransactionMinorState.Ready &&
!transaction.error && (
<Part
title={i18n.str`URI`}
@@ -969,13 +970,15 @@ export function TransactionView({
text={transaction.exchangeBaseUrl as TranslatedString}
kind="neutral"
/>
- {/* {transaction.pending && ( //pending is not-received
- )} */}
- <Part
- title={i18n.str`URI`}
- text={<ShowQrWithCopy text={transaction.talerUri} />}
- kind="neutral"
- />
+ {transaction.txState.major === TransactionMajorState.Pending &&
+ transaction.txState.minor === TransactionMinorState.Ready &&
+ !transaction.error && (
+ <Part
+ title={i18n.str`URI`}
+ text={<ShowQrWithCopy text={transaction.talerUri} />}
+ kind="neutral"
+ />
+ )}
<Part
title={i18n.str`Details`}
text={
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: show the qr when is ready,
gnunet <=