From 6203f7accc3059e4918d05ff0df67b088526121a Mon Sep 17 00:00:00 2001
From: Mia Winter
- @foreach (var category in Article.Categories) { + @foreach (var category in Article.Categories.OrderBy(c => c.Color)) { @category.Name diff --git a/Wave/Components/Pages/Home.razor b/Wave/Components/Pages/Home.razor index 21141b7..bab3b7a 100644 --- a/Wave/Components/Pages/Home.razor +++ b/Wave/Components/Pages/Home.razor @@ -29,7 +29,7 @@
- @foreach (var category in featured.Categories) { + @foreach (var category in featured.Categories.OrderBy(c => c.Color)) { @category.Name