removed static props for PageAlert

This commit is contained in:
PxlLoewe
2025-05-27 11:19:18 -07:00
parent f54d3ab040
commit 5d5b2dc91f
12 changed files with 70 additions and 142 deletions

View File

@@ -1,46 +0,0 @@
import { PaginatedTable } from "../../../_components/PaginatedTable";
export default async () => {
return (
<>
<PaginatedTable
prismaModel="user"
searchFields={["publicId", "firstname", "lastname", "email"]}
columns={[
{
header: "Station",
accessorKey: "station",
},
{
header: "Alarmzeit",
accessorKey: "alarm",
},
{
header: "Status 3",
accessorKey: "s3",
},
{
header: "Status 4",
accessorKey: "s4",
},
{
header: "Status 7",
accessorKey: "s7",
},
{
header: "Status 8",
accessorKey: "s8",
},
{
header: "Status 1",
accessorKey: "s1",
},
{
header: "Flugzeit",
accessorKey: "fz",
},
]}
/>
</>
);
};

View File

@@ -1,7 +1,6 @@
import { NotebookText } from "lucide-react";
import LogbookTable from "./_components/LogbookTable";
export default () => {
const page = () => {
return (
<div className="grid grid-cols-6 gap-4">
<div className="col-span-full">
@@ -10,8 +9,10 @@ export default () => {
</p>
</div>
<div className="card bg-base-200 shadow-xl mb-4 col-span-6">
<LogbookTable />
<h2 className="text-2xl text-gray-600 ">W.I.P.</h2>
</div>
</div>
);
};
export default page;