Fix admin demo review and landing regressions
CI - Build & Verify / Build, Typecheck & Hygiene (push) Successful in 59s
CI - Build & Verify / Deploy to award.noveria.net (push) Successful in 1m34s

This commit is contained in:
AzuTear
2026-06-30 08:18:14 +02:00
parent 0803a0124b
commit 76ac60d3fd
9 changed files with 1726 additions and 29 deletions
@@ -76,21 +76,7 @@ public static partial class AdminSeasonManagementEndpoints
ViewerRangeMin = category.ViewerRangeMin,
ViewerRangeMax = category.ViewerRangeMax,
}));
var visibleCategoryRows = categoryRows
.Where(category => SeasonSubcategoryTemplateSettings.MatchesTemplate(
new Backend.Domain.Category
{
GroupName = category.GroupName,
Name = category.Name,
Slug = category.Slug,
SortOrder = category.SortOrder,
ViewerRangeMin = category.ViewerRangeMin,
ViewerRangeMax = category.ViewerRangeMax,
},
subcategoryTemplateSettings))
.ToArray();
var categories = visibleCategoryRows
var categories = categoryRows
.Select(category => new AdminCategoryItemDto(
category.Id,
category.GroupName,