Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
esond committed Jan 18, 2024
1 parent b20f02e commit 97171f4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ public partial class CreateExpenseDialog

public ExpenseProperties Expense { get; set; } = new()
{
Amount = 0.00m, Date = DateOnly.FromDateTime(DateTime.Today)
Amount = 0.00m,
Date = DateOnly.FromDateTime(DateTime.Today)
};

private void Close()
Expand Down
6 changes: 4 additions & 2 deletions src/Clients/App/Components/Expenses/ExpensesGrid.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ private async Task OnDeleteClicked(MouseEventArgs _, ExpenseDigest expense)

private FilteredExpensesQuery Query { get; set; } = new()
{
OrderBy = nameof(ExpenseDigest.Date), SortDirection = SortDirection.Desc
OrderBy = nameof(ExpenseDigest.Date),
SortDirection = SortDirection.Desc
};

private Task OnCategoryFilter(IEnumerable<Guid> categoryIds)
Expand Down Expand Up @@ -158,7 +159,8 @@ private async Task<GridData<ExpenseDigest>> GetServerData(GridState<ExpenseDiges

return new GridData<ExpenseDigest>
{
Items = response.Content!.Items, TotalItems = response.Content.TotalCount
Items = response.Content!.Items,
TotalItems = response.Content.TotalCount
};
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ public partial class CreatePaymentDialog

public PaymentProperties Payment { get; set; } = new()
{
Amount = 0.00m, Date = DateOnly.FromDateTime(DateTime.Today)
Amount = 0.00m,
Date = DateOnly.FromDateTime(DateTime.Today)
};

private void Close()
Expand Down
6 changes: 4 additions & 2 deletions src/Clients/App/Components/Payments/PaymentsGrid.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ private async Task OnDeleteClicked(MouseEventArgs _, PaymentDigest payment)

private FilteredPaymentsQuery Query { get; set; } = new()
{
OrderBy = nameof(PaymentDigest.Date), SortDirection = SortDirection.Desc
OrderBy = nameof(PaymentDigest.Date),
SortDirection = SortDirection.Desc
};

private DateRange? DateRangeValue
Expand Down Expand Up @@ -137,7 +138,8 @@ private async Task<GridData<PaymentDigest>> GetServerData(GridState<PaymentDiges

return new GridData<PaymentDigest>
{
Items = response.Content!.Items, TotalItems = response.Content.TotalCount
Items = response.Content!.Items,
TotalItems = response.Content.TotalCount
};
}
}

0 comments on commit 97171f4

Please sign in to comment.