mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Fix: Unable to Edit amount when cloning paid Payment Request (Close #4639)
This commit is contained in:
@@ -374,6 +374,7 @@ namespace BTCPayServer.Controllers
|
|||||||
model.Archived = false;
|
model.Archived = false;
|
||||||
model.ExpiryDate = null;
|
model.ExpiryDate = null;
|
||||||
model.Title = $"Clone of {model.Title}";
|
model.Title = $"Clone of {model.Title}";
|
||||||
|
model.AmountAndCurrencyEditable = true;
|
||||||
return View("EditPaymentRequest", model);
|
return View("EditPaymentRequest", model);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user