diff --git a/dev-dist/sw.js b/dev-dist/sw.js index d76fd73..15aeba9 100644 --- a/dev-dist/sw.js +++ b/dev-dist/sw.js @@ -82,7 +82,7 @@ define(['./workbox-b5f7729d'], (function (workbox) { 'use strict'; "revision": "3ca0b8505b4bec776b69afdba2768812" }, { "url": "index.html", - "revision": "0.4ngos72cbag" + "revision": "0.0iof9eg3rjg" }], {}); workbox.cleanupOutdatedCaches(); workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), { diff --git a/src/Services/api.service.js b/src/Services/api.service.js index f5a6eb3..01494dd 100644 --- a/src/Services/api.service.js +++ b/src/Services/api.service.js @@ -28,7 +28,11 @@ export const rubix = createApi({ providesTags: ["getTransAll"], }), - + getTransById: builder.query({ + query: (id) => + `/api/Transaction/GetById/${id}`, + providesTags: ["getTransAll"], + }), @@ -36,5 +40,6 @@ export const rubix = createApi({ }); export const { useGetTransCountQuery, - useGetTransAllQuery + useGetTransAllQuery, + useGetTransByIdQuery, } = rubix; diff --git a/src/components/Pagination.jsx b/src/components/Pagination.jsx index 1f98df0..289504d 100644 --- a/src/components/Pagination.jsx +++ b/src/components/Pagination.jsx @@ -50,10 +50,11 @@ const Pagination = ({ }; return ( - + - Rows per page : + Rows per page : + + + + +