From 85cdfb8d9011269342d46a2c24045fc4884327f5 Mon Sep 17 00:00:00 2001 From: Edi Wang Date: Mon, 18 Sep 2023 14:24:59 +0800 Subject: [PATCH] update sub list ui --- .../Pages/Components/{RssList => SubList}/Default.cshtml | 0 src/Moonglade.Web/Pages/Shared/_Aside.cshtml | 9 +++------ .../{RssListViewComponent.cs => SubListViewComponent.cs} | 6 +++--- 3 files changed, 6 insertions(+), 9 deletions(-) rename src/Moonglade.Web/Pages/Components/{RssList => SubList}/Default.cshtml (100%) rename src/Moonglade.Web/ViewComponents/{RssListViewComponent.cs => SubListViewComponent.cs} (79%) diff --git a/src/Moonglade.Web/Pages/Components/RssList/Default.cshtml b/src/Moonglade.Web/Pages/Components/SubList/Default.cshtml similarity index 100% rename from src/Moonglade.Web/Pages/Components/RssList/Default.cshtml rename to src/Moonglade.Web/Pages/Components/SubList/Default.cshtml diff --git a/src/Moonglade.Web/Pages/Shared/_Aside.cshtml b/src/Moonglade.Web/Pages/Shared/_Aside.cshtml index ea7fe1b1c..266673cd0 100644 --- a/src/Moonglade.Web/Pages/Shared/_Aside.cshtml +++ b/src/Moonglade.Web/Pages/Shared/_Aside.cshtml @@ -102,23 +102,20 @@ - diff --git a/src/Moonglade.Web/ViewComponents/RssListViewComponent.cs b/src/Moonglade.Web/ViewComponents/SubListViewComponent.cs similarity index 79% rename from src/Moonglade.Web/ViewComponents/RssListViewComponent.cs rename to src/Moonglade.Web/ViewComponents/SubListViewComponent.cs index ba3608c2d..e31859533 100644 --- a/src/Moonglade.Web/ViewComponents/RssListViewComponent.cs +++ b/src/Moonglade.Web/ViewComponents/SubListViewComponent.cs @@ -2,13 +2,13 @@ namespace Moonglade.Web.ViewComponents; -public class RssListViewComponent : ViewComponent +public class SubListViewComponent : ViewComponent { - private readonly ILogger _logger; + private readonly ILogger _logger; private readonly IMediator _mediator; - public RssListViewComponent(ILogger logger, IMediator mediator) + public SubListViewComponent(ILogger logger, IMediator mediator) { _logger = logger; _mediator = mediator;