We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ea3622 commit 1ef57f8Copy full SHA for 1ef57f8
source/DasBlog.Web.UI/Views/Shared/_BlogItems.cshtml
@@ -1,7 +1,7 @@
1
@model ListPostsViewModel
2
3
4
-@if (Model.Posts.Count > 0)
+@if (Model?.Posts?.Count > 0)
5
{
6
foreach (var post in Model.Posts)
7
source/DasBlog.Web.UI/Views/Shared/_BlogItemsSummary.cshtml
int order = 0;
0 commit comments