link zu neuem Report auf Admin-seite
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
"use client";
|
"use client";
|
||||||
import { PaginatedTable } from "_components/PaginatedTable";
|
import { PaginatedTable } from "_components/PaginatedTable";
|
||||||
import { reportColumns } from "(app)/admin/report/columns";
|
import { reportColumns } from "(app)/admin/report/columns";
|
||||||
|
import { TriangleAlert } from "lucide-react";
|
||||||
|
import Link from "next/link";
|
||||||
|
|
||||||
export default function ReportPage() {
|
export default function ReportPage() {
|
||||||
return (
|
return (
|
||||||
@@ -12,6 +14,18 @@ export default function ReportPage() {
|
|||||||
Sender: true,
|
Sender: true,
|
||||||
Reported: true,
|
Reported: true,
|
||||||
}}
|
}}
|
||||||
|
leftOfSearch={
|
||||||
|
<p className="flex items-center gap-2 text-left text-2xl font-semibold">
|
||||||
|
<TriangleAlert className="h-5 w-5" /> Reports
|
||||||
|
</p>
|
||||||
|
}
|
||||||
|
rightOfSearch={
|
||||||
|
<p className="flex items-center justify-between gap-2 text-left text-2xl font-semibold">
|
||||||
|
<Link href={"/admin/report/new"}>
|
||||||
|
<button className="btn btn-sm btn-outline btn-primary">Erstellen</button>
|
||||||
|
</Link>
|
||||||
|
</p>
|
||||||
|
}
|
||||||
columns={reportColumns}
|
columns={reportColumns}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user