Small enhancement on Rates page

This commit is contained in:
nicolas.dorier
2018-05-04 11:48:03 +09:00
parent 8f1324fdf3
commit 74ccc34c9c
3 changed files with 4 additions and 2 deletions

View File

@@ -251,6 +251,8 @@ namespace BTCPayServer.Controllers
else
{
blob.RateScript = rules.ToString();
ModelState.Remove(nameof(model.Script));
model.Script = blob.RateScript;
}
}
rules = blob.GetRateRules(_NetworkProvider);