From 1511840bf30576c86e7e30f6e8f795becc2c6447 Mon Sep 17 00:00:00 2001 From: Mark Gould Date: Tue, 7 Oct 2025 18:45:55 -0500 Subject: [PATCH] Fix issue with most recent tax year not being removed when changing start year --- .../Pages/TaxLimitationCalculator/LimitationCalculator.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TaxTools/Pages/TaxLimitationCalculator/LimitationCalculator.razor b/src/TaxTools/Pages/TaxLimitationCalculator/LimitationCalculator.razor index 9770274..e483ef0 100644 --- a/src/TaxTools/Pages/TaxLimitationCalculator/LimitationCalculator.razor +++ b/src/TaxTools/Pages/TaxLimitationCalculator/LimitationCalculator.razor @@ -234,7 +234,7 @@ { var detail = _model.Details[x]; - if (detail.Year < startYear) + if (detail.Year < startYear || detail.Year > taxYear) _model.Details.RemoveAt(x); } }