diff --git a/src/Mangarr.Frontend/Pages/Manga/Item/ContentList.razor b/src/Mangarr.Frontend/Pages/Manga/Item/ContentList.razor
index a8d7dc7..6b635c0 100644
--- a/src/Mangarr.Frontend/Pages/Manga/Item/ContentList.razor
+++ b/src/Mangarr.Frontend/Pages/Manga/Item/ContentList.razor
@@ -21,10 +21,9 @@ else
- @for (int i = 0; i < Items.Count; i++)
+ @foreach (MangaChapterModel item in Items)
{
- MangaChapterModel item = Items[i];
-
+
}
diff --git a/src/Mangarr.Frontend/Pages/Manga/Item/ContentListItem.razor b/src/Mangarr.Frontend/Pages/Manga/Item/ContentListItem.razor
index 4f1741f..37b039e 100644
--- a/src/Mangarr.Frontend/Pages/Manga/Item/ContentListItem.razor
+++ b/src/Mangarr.Frontend/Pages/Manga/Item/ContentListItem.razor
@@ -13,7 +13,7 @@
}
- @Index |
+ @ChapterNumber |
@ChapterName
|
diff --git a/src/Mangarr.Frontend/Pages/Manga/Item/ContentListItem.razor.cs b/src/Mangarr.Frontend/Pages/Manga/Item/ContentListItem.razor.cs
index e4e5248..8f5f084 100644
--- a/src/Mangarr.Frontend/Pages/Manga/Item/ContentListItem.razor.cs
+++ b/src/Mangarr.Frontend/Pages/Manga/Item/ContentListItem.razor.cs
@@ -6,7 +6,6 @@ namespace Mangarr.Frontend.Pages.Manga.Item;
public partial class ContentListItem
{
[Parameter] public MangaChapterModel? Item { get; set; }
- [Parameter] public int Index { get; set; }
private string ChapterUrl => Item!.ChapterUrl;
private string ChapterName => Item!.ChapterName;