gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated (0a439461e -> e263fe350)


From: gnunet
Subject: [taler-wallet-core] branch master updated (0a439461e -> e263fe350)
Date: Thu, 19 Jan 2023 17:44:59 +0100

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a change to branch master
in repository wallet-core.

    from 0a439461e harness: hack around test limitation
     new 928fe2d01 fix: contract terms details with fullfilment url
     new e263fe350 fix: do not count coins with other currency

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 packages/taler-wallet-core/src/operations/balance.ts                | 6 ++++++
 .../src/components/ShowFullContractTermPopup.tsx                    | 1 +
 2 files changed, 7 insertions(+)

diff --git a/packages/taler-wallet-core/src/operations/balance.ts 
b/packages/taler-wallet-core/src/operations/balance.ts
index 2c57f8af8..27b801804 100644
--- a/packages/taler-wallet-core/src/operations/balance.ts
+++ b/packages/taler-wallet-core/src/operations/balance.ts
@@ -379,6 +379,9 @@ export async function getMerchantPaymentBalanceDetails(
     ])
     .runReadOnly(async (tx) => {
       await tx.coinAvailability.iter().forEach((ca) => {
+        if (ca.currency != req.currency) {
+          return;
+        }
         const singleCoinAmount: AmountJson = {
           currency: ca.currency,
           fraction: ca.amountFrac,
@@ -413,6 +416,9 @@ export async function getMerchantPaymentBalanceDetails(
       });
 
       await tx.refreshGroups.iter().forEach((r) => {
+        if (r.currency != req.currency) {
+          return;
+        }
         d.balanceAvailable = Amounts.add(
           d.balanceAvailable,
           computeRefreshGroupAvailableAmount(r),
diff --git 
a/packages/taler-wallet-webextension/src/components/ShowFullContractTermPopup.tsx
 
b/packages/taler-wallet-webextension/src/components/ShowFullContractTermPopup.tsx
index 3e1f1dbe4..a5127cd88 100644
--- 
a/packages/taler-wallet-webextension/src/components/ShowFullContractTermPopup.tsx
+++ 
b/packages/taler-wallet-webextension/src/components/ShowFullContractTermPopup.tsx
@@ -42,6 +42,7 @@ const ContractTermsTable = styled.table`
   }
   & > tr > td:nth-child(2n) {
     text-align: right;
+    overflow-wrap: anywhere;
   }
   & > tr:nth-child(2n) {
     background: #ebebeb;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]