Fix: Unable to Edit amount when cloning paid Payment Request (Close #4639)

This commit is contained in:
nicolas.dorier
2023-02-15 15:33:26 +09:00
parent a5ff655eed
commit 8b80910d70

View File

@@ -374,6 +374,7 @@ namespace BTCPayServer.Controllers
model.Archived = false;
model.ExpiryDate = null;
model.Title = $"Clone of {model.Title}";
model.AmountAndCurrencyEditable = true;
return View("EditPaymentRequest", model);
}