first commit
This commit is contained in:
19
frontend/app/main/configuration/employee-data/page.tsx
Normal file
19
frontend/app/main/configuration/employee-data/page.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import { getAllGrade } from "@/app/utils/api/companyData/gradeApi.ts";
|
||||
import EmployeeDataTable from "./components/employee-table";
|
||||
import { getAllRoles } from "@/app/utils/api/companyData/roleApi.ts";
|
||||
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
export default async function EmployeeData() {
|
||||
const gradeData = await getAllGrade();
|
||||
const roleData = await getAllRoles();
|
||||
|
||||
return (
|
||||
<div className="py-4 space-y-4 w-full h-full">
|
||||
<EmployeeDataTable
|
||||
roleData={roleData || []}
|
||||
gradeData={gradeData || []}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user