Skip to content

Commit

Permalink
GH-69 :: update condition in article list widget
Browse files Browse the repository at this point in the history
  • Loading branch information
kentico-matthews committed Aug 30, 2024
1 parent 97edd43 commit 37f0185
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public async Task<ViewViewComponentResult> InvokeAsync(ArticleListWidgetProperti
CtaText = properties.CtaText,
};

if (selectedPageGuid.HasValue)
if (selectedPageGuid.HasValue && !Guid.Empty.Equals(selectedPageGuid))
{
string selectedPageContentTypeName = await GetWebPageContentTypeName(selectedPageGuid!.Value);

Expand Down

0 comments on commit 37f0185

Please sign in to comment.