From 37f01854287eb1557b942f561be81c454d417108 Mon Sep 17 00:00:00 2001 From: Matthew Sandstrom Date: Fri, 30 Aug 2024 12:23:05 -0400 Subject: [PATCH] GH-69 :: update condition in article list widget --- .../Widgets/ArticleList/ArticleListWidgetViewComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TrainingGuides.Web/Features/Articles/Widgets/ArticleList/ArticleListWidgetViewComponent.cs b/src/TrainingGuides.Web/Features/Articles/Widgets/ArticleList/ArticleListWidgetViewComponent.cs index 455fdd27..13c369c8 100644 --- a/src/TrainingGuides.Web/Features/Articles/Widgets/ArticleList/ArticleListWidgetViewComponent.cs +++ b/src/TrainingGuides.Web/Features/Articles/Widgets/ArticleList/ArticleListWidgetViewComponent.cs @@ -40,7 +40,7 @@ public async Task InvokeAsync(ArticleListWidgetProperti CtaText = properties.CtaText, }; - if (selectedPageGuid.HasValue) + if (selectedPageGuid.HasValue && !Guid.Empty.Equals(selectedPageGuid)) { string selectedPageContentTypeName = await GetWebPageContentTypeName(selectedPageGuid!.Value);