morning4coffe-dev / recurrents

Tired of losing track of your spending on many different services? With Recurrents, just input your subscriptions for an easy overview and stay in control with reminders, save money, and enjoy a stress-free experience. Take control of your expenses effortlessly!
https://www.microsoft.com/store/apps/9N5MJT8G06KC
MIT License
10 stars 1 forks source link

Must add a listener for when the category changes #97

Closed github-actions[bot] closed 3 months ago

github-actions[bot] commented 10 months ago

https://github.com/morning4coffe-dev/recurrents/blob/f66590c5a86bb1b3b59351e1756221bdba1679ce/ProjectSBS/ProjectSBS/Business/ViewModels/HomeViewModel.cs#L208


    {
        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[bot] commented 3 months ago

Closed in 015de34b4bb9643cdd1a4951eb8c1637ff45c85a