Skip to content

Commit

Permalink
This resolves a general null reference issue. If folks have used cust…
Browse files Browse the repository at this point in the history
…omer _BlogItems/_BlogItemsSummary it will require the same update.
  • Loading branch information
poppastring committed Jun 27, 2022
1 parent 1ea3622 commit 1ef57f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/DasBlog.Web.UI/Views/Shared/_BlogItems.cshtml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@model ListPostsViewModel


@if (Model.Posts.Count > 0)
@if (Model?.Posts?.Count > 0)
{
foreach (var post in Model.Posts)
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@model ListPostsViewModel


@if (Model.Posts.Count > 0)
@if (Model?.Posts?.Count > 0)
{
int order = 0;

Expand Down

0 comments on commit 1ef57f8

Please sign in to comment.