Skip to content

Commit

Permalink
Update BlazorApp-Investment Tax Calculator/Components/TaxRefundTable.…
Browse files Browse the repository at this point in the history
…razor

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
alexpung and coderabbitai[bot] authored Oct 3, 2024
1 parent 863560d commit a9c8145
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@
@code {
private SfGrid<TaxRepay> taxRefundGrid = new();
private IEnumerable<TaxRepay> _trades => tradeCalculationResult.CalculatedTrade
.Where(trade => trade is OptionTradeTaxCalculation)
.SelectMany(trade => ((OptionTradeTaxCalculation)trade).TaxRepayList)
.DefaultIfEmpty()!;
.OfType<OptionTradeTaxCalculation>()
.SelectMany(trade => trade.TaxRepayList);

public async Task ToolbarClickHandler(Syncfusion.Blazor.Navigations.ClickEventArgs args)
{
Expand Down

0 comments on commit a9c8145

Please sign in to comment.