add relocate from violations-last-combined-cases to match-list

This commit is contained in:
smanylov
2026-04-22 14:05:55 +07:00
parent f8cf3618f7
commit 2f0acfc07f
9 changed files with 69 additions and 59 deletions
+4 -2
View File
@@ -48,7 +48,7 @@ export interface FileDetails {
interface PageProps {
params: Promise<{ id: string }>;
searchParams: Promise<{ page?: string, status?: string }>;
searchParams: Promise<{ page?: string, status?: string , violationId?: string, caseType?: 'complaint' | 'claim'}>;
}
export default async function Page({
@@ -56,7 +56,7 @@ export default async function Page({
searchParams
}: PageProps) {
const { id } = await params;
const { page, status } = await searchParams;
const { page, status, violationId, caseType } = await searchParams;
const currentPage = Number(page) || 1;
try {
@@ -78,6 +78,8 @@ export default async function Page({
currentPage={currentPage}
status={status}
fileId={id}
violationId={violationId}
caseType={caseType}
/>
{/* <FilePageNote /> */}
{/* <FilePageViolationInfo /> */}