From 10671311203c4a1597204e438c4b4e783e082961 Mon Sep 17 00:00:00 2001
From: nymkappa <1612910616@pm.me>
Date: Sat, 29 Jun 2024 16:47:38 +0900
Subject: [PATCH] [btcpay] fix displayed amount
---
.../bitcoin-invoice/bitcoin-invoice.component.html | 14 +++++++-------
.../bitcoin-invoice/bitcoin-invoice.component.ts | 4 +---
2 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/frontend/src/app/components/bitcoin-invoice/bitcoin-invoice.component.html b/frontend/src/app/components/bitcoin-invoice/bitcoin-invoice.component.html
index 1731a0e43..4e158e3e4 100644
--- a/frontend/src/app/components/bitcoin-invoice/bitcoin-invoice.component.html
+++ b/frontend/src/app/components/bitcoin-invoice/bitcoin-invoice.component.html
@@ -33,8 +33,8 @@
{{ invoice.amount }} BTC {{ invoice.btcDue | number: '1.0-8' }} BTC
{{ invoice.amount * 100_000_000 }} sats
+{{ invoice.btcDue * 100_000_000 | number: '1.0-0' }} sats
} @@ -74,8 +74,8 @@{{ invoice.amount }} BTC
+{{ invoice.btcDue | number: '1.0-8' }} BTC
}