690401:1326 fix secutities uuid
CI / CD Pipeline / build (push) Successful in 28m24s
CI / CD Pipeline / deploy (push) Failing after 16m23s

This commit is contained in:
2026-04-01 13:26:19 +07:00
parent 83b04773f7
commit 1d868d10b3
17 changed files with 105 additions and 185 deletions
@@ -8,15 +8,16 @@ import { Can } from '@/components/common/can';
export const dynamic = 'force-dynamic';
interface CorrespondencesPageProps {
searchParams?: {
searchParams: Promise<{
type?: string;
};
}>;
}
export default function CorrespondencesPage({
export default async function CorrespondencesPage({
searchParams,
}: CorrespondencesPageProps) {
const isRfaView = searchParams?.type?.toUpperCase() === 'RFA';
const params = await searchParams;
const isRfaView = params?.type?.toUpperCase() === 'RFA';
const heading = isRfaView ? 'RFAs (Request for Approval)' : 'Correspondences';
const description = isRfaView
? 'Unified list view for RFA documents'