Windows: Add filters to Titles in some AdministrationWindows
Test / Run tests (push) Successful in 2m44s

This commit is contained in:
2026-09-01 16:24:27 +02:00
parent 1bdfff28f1
commit c789f93159
10 changed files with 32 additions and 20 deletions
@@ -8,6 +8,9 @@ using System.Windows.Controls;
namespace Elwig.ViewModels {
public partial class DeliveryAncmtAdminViewModel : ObservableObject {
[ObservableProperty]
private string _title = "Anmeldungen - Elwig";
[ObservableProperty]
private string? _searchQuery = "";
public List<string> TextFilter => [.. SearchQuery?.ToLower().Split(' ').ToList().FindAll(e => e.Length > 0) ?? []];