@if (TablaProductos != null && TablaProductos.Any())
{
+ Data="TablaProductos"
+ SelectionField="Id"
+ RowsPerPage=SearchParams.PageSize
+ RenderButtons="true" Buttons="botones"
+ ShowPageButtons="false"
+ ShowQuickSearch="false"
+ RenderSelect="false" />
}
else
{
@@ -108,6 +108,7 @@
private async Task CargarProductos()
{
+ SearchParams.PageSize = 8;
PagedResult = await productService.SearchProductsAsync(SearchParams);
if (PagedResult?.Items is not null)
{
diff --git a/phronCare.UIBlazor/Pages/Sales/Quotes/Quotes.razor b/phronCare.UIBlazor/Pages/Sales/Quotes/Quotes.razor
index 30b10ab..a77ed94 100644
--- a/phronCare.UIBlazor/Pages/Sales/Quotes/Quotes.razor
+++ b/phronCare.UIBlazor/Pages/Sales/Quotes/Quotes.razor
@@ -3,9 +3,9 @@
@using Core.Dtos
@using Domain.Generics
@using phronCare.UIBlazor.Services.Sales.Quotes
-@inject IToastService toastService
@inject NavigationManager Navigation
@inject QuoteService quoteService
+@inject IToastService toastService