Skip to content

Commit

Permalink
docs: removed console.log from example
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Guerrero authored and gabrielguerrero committed Apr 17, 2024
1 parent 976ed53 commit b32b740
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,15 @@ export const ProductsBranchStore = signalStore(
pageSize: 10,
entity,
}),

withEntitiesLoadingCall({
fetchEntities: async ({ entitiesPagedRequest, entitiesFilter }) => {
console.log('fetchEntities', entitiesPagedRequest(), entitiesFilter());
const res = await lastValueFrom(
inject(ProductsStoreService).getStores({
search: entitiesFilter().search,
skip: entitiesPagedRequest().startIndex,
take: entitiesPagedRequest().size,
}),
);
console.log({
search: entitiesFilter().search,
skip: entitiesPagedRequest().startIndex,
take: entitiesPagedRequest().size,
entities: res.resultList.length,
total: res.total,
});
return { entities: res.resultList, total: res.total };
},
}),
Expand Down

0 comments on commit b32b740

Please sign in to comment.