mmmh
This commit is contained in:
@@ -51,17 +51,17 @@ class DashboardStoreOperationListCubit
|
||||
|
||||
void _loadOperationsSilently() async {
|
||||
try {
|
||||
final operations = await _repository.fetchOperations(
|
||||
final paginatedData = await _repository.fetchPaginatedOperations(
|
||||
companyId: companyId!,
|
||||
storeId: storeId!,
|
||||
limit: 10,
|
||||
offset: 0,
|
||||
page: 1,
|
||||
itemsPerPage: 20,
|
||||
);
|
||||
if (isClosed) return;
|
||||
emit(
|
||||
state.copyWith(
|
||||
status: DashboardStoreOperationListStatus.success,
|
||||
operations: operations,
|
||||
operations: paginatedData.operations,
|
||||
error: null,
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user