mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-21 16:04:22 +01:00
committed by
Nicolas Dorier
parent
d7785fe2d2
commit
84018a5caa
@@ -72,6 +72,11 @@ function onDataCallback(jsonData) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// restoring qr code view only when currency is switched
|
// restoring qr code view only when currency is switched
|
||||||
|
if (jsonData.paymentMethodId === srvModel.paymentMethodId &&
|
||||||
|
checkoutCtrl.scanDisplayQr === "") {
|
||||||
|
checkoutCtrl.scanDisplayQr = jsonData.invoiceBitcoinUrlQR;
|
||||||
|
}
|
||||||
|
|
||||||
if (jsonData.paymentMethodId === srvModel.paymentMethodId) {
|
if (jsonData.paymentMethodId === srvModel.paymentMethodId) {
|
||||||
$(".payment__currencies").show();
|
$(".payment__currencies").show();
|
||||||
$(".payment__spinner").hide();
|
$(".payment__spinner").hide();
|
||||||
|
|||||||
Reference in New Issue
Block a user