Merge pull request #1 from clayschaad/fix-dropdown
Reload page after save
This commit is contained in:
commit
541da94d7b
4 changed files with 4 additions and 1 deletions
|
|
@ -32,6 +32,7 @@
|
|||
@if (matchingBankTransactions == null || matchingBankTransactions.Count == 0)
|
||||
{
|
||||
<p>Keine Transaktionen vorhanden!</p>
|
||||
<FluentEmoji Value="@(new Emojis.SmileysEmotion.Color.Default.MoneyMouthFace())" />
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ public partial class Home : ComponentBase
|
|||
return;
|
||||
}
|
||||
transactionRepository.SaveTransaction(transaction);
|
||||
matchingBankTransactions!.RemoveAll(q => q == transaction);
|
||||
matchingBankTransactions = viewService.MatchOpenBankTransactions();
|
||||
await Task.CompletedTask;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
<ItemGroup>
|
||||
<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="Plotly.Blazor" Version="6.0.1" />
|
||||
</ItemGroup>
|
||||
|
|
|
|||
Loading…
Reference in a new issue