removed static props for PageAlert
This commit is contained in:
@@ -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",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
};
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user