From a53a5944f80dd196bd987cbe9f25ced406fb88a6 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Thu, 6 Jun 2019 18:54:51 +0900 Subject: [PATCH] Remove empty row if no validation --- BTCPayServer/Views/Server/Policies.cshtml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BTCPayServer/Views/Server/Policies.cshtml b/BTCPayServer/Views/Server/Policies.cshtml index 9af30b7bc..dcac43d98 100644 --- a/BTCPayServer/Views/Server/Policies.cshtml +++ b/BTCPayServer/Views/Server/Policies.cshtml @@ -5,11 +5,14 @@ +@if (!this.ViewContext.ModelState.IsValid) +{
+}