aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-02-20 11:39:32 -0300
committerSebastian <sebasjm@gmail.com>2023-02-20 11:39:32 -0300
commit2c57d4212838b70106f302ecc362a07e870e4068 (patch)
treea400bd0b5317a8eacdc311c45d03f69572e6f7aa /packages/taler-wallet-webextension
parentff9c67c72d8939560f9b5619ae2210841acdf01c (diff)
fix #7579: swap effective and raw on invoice
Diffstat (limited to 'packages/taler-wallet-webextension')
-rw-r--r--packages/taler-wallet-webextension/src/cta/InvoicePay/views.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/InvoicePay/views.tsx b/packages/taler-wallet-webextension/src/cta/InvoicePay/views.tsx
index 471685bf1..4a9d90ef6 100644
--- a/packages/taler-wallet-webextension/src/cta/InvoicePay/views.tsx
+++ b/packages/taler-wallet-webextension/src/cta/InvoicePay/views.tsx
@@ -38,7 +38,7 @@ export function ReadyView(
</SubTitle>
<section style={{ textAlign: "left" }}>
<Part title={i18n.str`Subject`} text={<div>{summary}</div>} />
- <Part title={i18n.str`Amount`} text={<Amount value={effective} />} />
+ <Part title={i18n.str`Amount`} text={<Amount value={raw} />} />
<Part
title={i18n.str`Details`}
text={
@@ -54,7 +54,7 @@ export function ReadyView(
/>
</section>
<PaymentButtons
- amount={raw}
+ amount={effective}
payStatus={payStatus}
uri={uri}
payHandler={status === "ready" ? state.accept : undefined}