Boolean template was crashing in prod, made it non-nullable and now it works

This commit is contained in:
2020-07-13 09:33:23 -04:00
parent 2625c07901
commit 620af9657d
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -2,7 +2,6 @@
@using LeafWeb.Core.Entities
@using LeafWeb.WebCms.Utility
@model QueueViewModel
@{
Html.RequiresJs("~/scripts/Queue.js");
@@ -1,4 +1,4 @@
@model Boolean?
@model Boolean
@{
Layout = "_FieldLayout.cshtml";
@@ -12,5 +12,5 @@
@Html.CheckBox(
"",
Model.HasValue && Model.Value,
Model,
htmlAttributes)