diff --git a/frontend/hospital-portal/src/sections/dashboard/TableList.tsx b/frontend/hospital-portal/src/sections/dashboard/TableList.tsx index 1df44075..f9a6b51a 100644 --- a/frontend/hospital-portal/src/sections/dashboard/TableList.tsx +++ b/frontend/hospital-portal/src/sections/dashboard/TableList.tsx @@ -317,7 +317,8 @@ function handleChangeTab(event: React.SyntheticEvent, newValue: string) { : Object.fromEntries([...searchParams.entries(), ['order', order], ['orderBy', orderBy]]); const response = await axios.get(`/get-request-log`, { - params: { ...parameters, type: 'request-log' }, + params: { ...parameters, order: order, + orderBy: orderBy, type: 'request-log' }, }); setData( response.data.data.map((obj: any) => ({ diff --git a/frontend/hospital-portal/vite.config.ts b/frontend/hospital-portal/vite.config.ts index ec18a01f..8d9f6a76 100644 --- a/frontend/hospital-portal/vite.config.ts +++ b/frontend/hospital-portal/vite.config.ts @@ -9,6 +9,7 @@ export default defineConfig({ // This changes the out put dir from dist to build // comment this out if that isn't relevant for your project build: { + manifest: true, outDir: 'build', chunkSizeWarningLimit: 100, rollupOptions: {