diff --git a/GanjooRazor/Pages/Partials/GanjoorPage/PageTypes/_PoemPagePartial.cshtml b/GanjooRazor/Pages/Partials/GanjoorPage/PageTypes/_PoemPagePartial.cshtml index 70f16624..306597e2 100644 --- a/GanjooRazor/Pages/Partials/GanjoorPage/PageTypes/_PoemPagePartial.cshtml +++ b/GanjooRazor/Pages/Partials/GanjoorPage/PageTypes/_PoemPagePartial.cshtml @@ -444,7 +444,7 @@ - @if (!Model.OfflineMode && Model.GanjoorPage.Poem.GeoDateTags.Any()) + @if (!Model.OfflineMode && Model.GanjoorPage.Poem.GeoDateTags.Any(t => t.Location != null)) {
} @@ -1001,7 +1001,7 @@ -@if (!Model.OfflineMode && Model.GanjoorPage.Poem.GeoDateTags.Length > 0) +@if (!Model.OfflineMode && Model.GanjoorPage.Poem.GeoDateTags.Any(t => t.Location != null)) {