Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Must add a listener for when the category changes #97

Open
github-actions bot opened this issue Feb 4, 2024 · 0 comments
Open

Must add a listener for when the category changes #97

github-actions bot opened this issue Feb 4, 2024 · 0 comments
Labels

Comments

@github-actions
Copy link

github-actions bot commented Feb 4, 2024

//TODO Must add a listener for when the category changes

    {
        IEnumerable<ItemViewModel> items;

        //TODO Must add a listener for when the category changes

        if (SelectedCategory is not { } category)
        {
            return new List<ItemViewModel>();
        }

        //If ArchivePage is selected, show archived items
        if (category.Page == typeof(ArchivePage))
        {
            items = _itemService.GetItems(item => item.IsArchived)
            .OrderBy(i => i.PaymentDate);
@github-actions github-actions bot added the todo label Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants