+ @if (Data?.SyndicationParent.Category != null)
+ {
+
+ }
@if (Data?.SyndicationParent.ImageUrl != null)
{
@@ -13,7 +17,9 @@
+
+
+
@((MarkupString)((Data?.Content == null || Data.Content.IsNullEmptyWhiteSpace() ? Data?.Description : Data.Content) ?? "This item doesn't contain any content!"))
diff --git a/WebSharpRSS/Shared/SyndicationListItem.razor b/WebSharpRSS/Shared/SyndicationListItem.razor
index ae684c5..6dd4242 100644
--- a/WebSharpRSS/Shared/SyndicationListItem.razor
+++ b/WebSharpRSS/Shared/SyndicationListItem.razor
@@ -56,13 +56,13 @@
@code {
[Parameter]
public HashSet
? Items { get; set; }
- DialogOptions _dialogOptions = new DialogOptions() { FullWidth = true, MaxWidth = MaxWidth.ExtraLarge, NoHeader = true, CloseButton = true, CloseOnEscapeKey = true };
+ DialogOptions _dialogOptions = new DialogOptions() { FullWidth = true, MaxWidth = MaxWidth.ExtraLarge, NoHeader = false, CloseButton = true, CloseOnEscapeKey = true };
private void Callback(SyndicationItemData syndicationItem)
{
var parameters = new DialogParameters();
parameters.Add("Data", syndicationItem);
- _dialogService.Show("", parameters, _dialogOptions);
+ _dialogService.Show("Custom", parameters, _dialogOptions);
Log.Verbose("Item: {ItemId} clicked", syndicationItem.Link);
}
diff --git a/WebSharpRSS/sharp_rss.sqlite b/WebSharpRSS/sharp_rss.sqlite
index 3cdeccb..8627a81 100644
Binary files a/WebSharpRSS/sharp_rss.sqlite and b/WebSharpRSS/sharp_rss.sqlite differ