Updated Blazor UI tag/creator views. Altered logic for sorting favorite/blacklisted fields for tags/creators.
All checks were successful
ci / build-test (push) Successful in 2m45s
ci / publish-image (push) Successful in 1m58s

This commit is contained in:
2026-04-18 21:39:58 -04:00
parent 1f91e46527
commit c203b2cbdb
13 changed files with 308 additions and 120 deletions

View File

@@ -29,6 +29,13 @@ public sealed class LookupDataService(VoiceWorksClient client) : ILookupDataServ
new() { Text = "All", Value = null }
];
public List<SelectOption<SaleStatus?>> GetSaleStatuses2() =>
[
new() { Label = "Available", Value = SaleStatus.Available },
new() { Label = "Upcoming", Value = SaleStatus.Upcoming },
new() { Label = "All", Value = null }
];
public List<BitDropdownItem<CircleStatus?>> GetCircleStatuses() =>
[
new() { Text = "Not Blacklisted", Value = CircleStatus.NotBlacklisted },
@@ -131,4 +138,10 @@ public sealed class LookupDataService(VoiceWorksClient client) : ILookupDataServ
return _creators;
}
}
public class SelectOption<T>
{
public string? Label { get; set; }
public T? Value { get; set; }
}