fix #7579: swap effective and raw on invoice

This commit is contained in:
Sebastian 2023-02-20 11:39:32 -03:00
parent ff9c67c72d
commit 2c57d42128
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1

View File

@ -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}