diff --git a/Schaad.Accounting.UI/Components/Pages/Home.razor b/Schaad.Accounting.UI/Components/Pages/Home.razor index a38be25..a3acae4 100644 --- a/Schaad.Accounting.UI/Components/Pages/Home.razor +++ b/Schaad.Accounting.UI/Components/Pages/Home.razor @@ -32,6 +32,7 @@ @if (matchingBankTransactions == null || matchingBankTransactions.Count == 0) {

Keine Transaktionen vorhanden!

+ } else { diff --git a/Schaad.Accounting.UI/Components/Pages/Home.razor.cs b/Schaad.Accounting.UI/Components/Pages/Home.razor.cs index a4f9e8f..6d04486 100644 --- a/Schaad.Accounting.UI/Components/Pages/Home.razor.cs +++ b/Schaad.Accounting.UI/Components/Pages/Home.razor.cs @@ -164,7 +164,7 @@ public partial class Home : ComponentBase return; } transactionRepository.SaveTransaction(transaction); - matchingBankTransactions!.RemoveAll(q => q == transaction); + matchingBankTransactions = viewService.MatchOpenBankTransactions(); await Task.CompletedTask; } diff --git a/Schaad.Accounting.UI/Components/_Imports.razor b/Schaad.Accounting.UI/Components/_Imports.razor index 5631017..137684c 100644 --- a/Schaad.Accounting.UI/Components/_Imports.razor +++ b/Schaad.Accounting.UI/Components/_Imports.razor @@ -9,6 +9,7 @@ @using Microsoft.AspNetCore.Components.Web.Virtualization @using Microsoft.FluentUI.AspNetCore.Components @using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons +@using Emojis = Microsoft.FluentUI.AspNetCore.Components.Emojis @using Microsoft.JSInterop @using Plotly.Blazor @using Schaad.Accounting.UI diff --git a/Schaad.Accounting.UI/Schaad.Accounting.UI.csproj b/Schaad.Accounting.UI/Schaad.Accounting.UI.csproj index 2e84a9a..ea86d13 100644 --- a/Schaad.Accounting.UI/Schaad.Accounting.UI.csproj +++ b/Schaad.Accounting.UI/Schaad.Accounting.UI.csproj @@ -23,6 +23,7 @@ +