diff --git a/CHANGELOG.md b/CHANGELOG.md index cfe82f02..6da24924 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## 1.8.1 (2024-03-17) + +### :beetle: Bug Fixes + +* Duplicate check on Import Page was showing wrong Account. Now only Transactions of the selected target Account will be considered during the analysis [#230](https://github.com/TheAxelander/OpenBudgeteer/issues/230) +* Bucket Movements were shown with Account `(Inactive)` [#231](https://github.com/TheAxelander/OpenBudgeteer/issues/231) + ## 1.8 (2024-03-16) ### :warning: Breaking Changes diff --git a/OpenBudgeteer.Blazor/Shared/MainLayout.razor b/OpenBudgeteer.Blazor/Shared/MainLayout.razor index 56a39b1d..0bc2d8fc 100644 --- a/OpenBudgeteer.Blazor/Shared/MainLayout.razor +++ b/OpenBudgeteer.Blazor/Shared/MainLayout.razor @@ -16,7 +16,7 @@ OpenBudgeteer Database: @CurrentDatabase - Version: 1.8 (Change Log) + Version: 1.8.1 (Change Log)
diff --git a/OpenBudgeteer.Core/ViewModels/EntityViewModels/TransactionViewModel.cs b/OpenBudgeteer.Core/ViewModels/EntityViewModels/TransactionViewModel.cs index 9526bd71..a957eb0f 100644 --- a/OpenBudgeteer.Core/ViewModels/EntityViewModels/TransactionViewModel.cs +++ b/OpenBudgeteer.Core/ViewModels/EntityViewModels/TransactionViewModel.cs @@ -361,7 +361,7 @@ public static async Task CreateFromBucketMovementAsync(ISe { Id = Guid.Empty, AccountId = Guid.Empty, - Account = new Account(), + Account = new Account(){ IsActive = 1}, Amount = bucketMovement.Amount, Memo = "Bucket Movement", Payee = string.Empty, diff --git a/OpenBudgeteer.Core/ViewModels/PageViewModels/ImportPageViewModel.cs b/OpenBudgeteer.Core/ViewModels/PageViewModels/ImportPageViewModel.cs index a8fc8074..e69d7d6b 100644 --- a/OpenBudgeteer.Core/ViewModels/PageViewModels/ImportPageViewModel.cs +++ b/OpenBudgeteer.Core/ViewModels/PageViewModels/ImportPageViewModel.cs @@ -407,7 +407,9 @@ private async Task DuplicateCheckOnParsedRecordsAsync() { await Task.Run(() => { - var transactions = ServiceManager.BankTransactionService.GetAll().ToList(); + var transactions = ServiceManager.BankTransactionService + .GetFromAccount(SelectedImportProfile.Account.AccountId) + .ToList(); var parsedRecords = ParsedRecords .Where(i => i.IsValid) .ToList(); diff --git a/SECURITY.md b/SECURITY.md index cc56b30b..0fcf9c7d 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -4,9 +4,9 @@ | Version | Supported | |-------------| ------------------ | -| 1.8 | :white_check_mark: | +| 1.8.1 | :white_check_mark: | | pre-release | :white_check_mark: | -| < 1.8 | :x: | +| < 1.8.1 | :x: | ## Reporting a Vulnerability