Boolean template was crashing in prod, made it non-nullable and now it works
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user