Reload page after save
This commit is contained in:
parent
a45495c296
commit
496408aa70
4 changed files with 4 additions and 1 deletions
|
|
@ -32,6 +32,7 @@
|
||||||
@if (matchingBankTransactions == null || matchingBankTransactions.Count == 0)
|
@if (matchingBankTransactions == null || matchingBankTransactions.Count == 0)
|
||||||
{
|
{
|
||||||
<p>Keine Transaktionen vorhanden!</p>
|
<p>Keine Transaktionen vorhanden!</p>
|
||||||
|
<FluentEmoji Value="@(new Emojis.SmileysEmotion.Color.Default.MoneyMouthFace())" />
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -164,7 +164,7 @@ public partial class Home : ComponentBase
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
transactionRepository.SaveTransaction(transaction);
|
transactionRepository.SaveTransaction(transaction);
|
||||||
matchingBankTransactions!.RemoveAll(q => q == transaction);
|
matchingBankTransactions = viewService.MatchOpenBankTransactions();
|
||||||
await Task.CompletedTask;
|
await Task.CompletedTask;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@
|
||||||
@using Microsoft.AspNetCore.Components.Web.Virtualization
|
@using Microsoft.AspNetCore.Components.Web.Virtualization
|
||||||
@using Microsoft.FluentUI.AspNetCore.Components
|
@using Microsoft.FluentUI.AspNetCore.Components
|
||||||
@using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons
|
@using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons
|
||||||
|
@using Emojis = Microsoft.FluentUI.AspNetCore.Components.Emojis
|
||||||
@using Microsoft.JSInterop
|
@using Microsoft.JSInterop
|
||||||
@using Plotly.Blazor
|
@using Plotly.Blazor
|
||||||
@using Schaad.Accounting.UI
|
@using Schaad.Accounting.UI
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.FluentUI.AspNetCore.Components" Version="4.11.8" />
|
<PackageReference Include="Microsoft.FluentUI.AspNetCore.Components" Version="4.11.8" />
|
||||||
|
<PackageReference Include="Microsoft.FluentUI.AspNetCore.Components.Emoji" Version="4.11.8" />
|
||||||
<PackageReference Include="Microsoft.FluentUI.AspNetCore.Components.Icons" Version="4.11.8" />
|
<PackageReference Include="Microsoft.FluentUI.AspNetCore.Components.Icons" Version="4.11.8" />
|
||||||
<PackageReference Include="Plotly.Blazor" Version="6.0.1" />
|
<PackageReference Include="Plotly.Blazor" Version="6.0.1" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue