revert fb8e77bb68
Local Build and Deploy / deploy (push) Successful in 1m11s

revert style: clean up code with prettier and eslint
This commit is contained in:
remco committed 2026-07-12 21:02:03 +02:00
1 parent 27de078f54
commit e85e4d74ea
378 files changed
+20710 -22428

No files matched your search

+9 -9
View File
@@ -1,19 +1,19 @@
import { fetchAdminList } from "@/lib/admin-list";
import { PERMS } from "@/lib/permissions";
import { CommandsTable } from "./commands-table";
import { fetchAdminList } from '@/lib/admin-list'
import { PERMS } from '@/lib/permissions'
import { CommandsTable } from './commands-table'
export default async function CommandLogsPage({
params: paramsPromise,
searchParams,
}: {
params: Promise<{ locale: string }>;
searchParams: Promise<Record<string, string>>;
params: Promise<{ locale: string }>
searchParams: Promise<Record<string, string>>
}) {
const result = await fetchAdminList(
{
permission: PERMS.LOGS_VIEW,
model: "commandLog",
searchFields: ["command", "params", "user.username"],
model: 'commandLog',
searchFields: ['command', 'params', 'user.username'],
defaultPerPage: 50,
include: { user: { select: { username: true } } },
mapRow: (l) => ({
@@ -26,7 +26,7 @@ export default async function CommandLogsPage({
},
paramsPromise,
searchParams,
);
)
return (
<div className="space-y-6">
@@ -45,5 +45,5 @@ export default async function CommandLogsPage({
}}
/>
</div>
);
)
}