feat(agents, i18n): enhance agent management and settlement features with new translations and UI updates
Added new translations for agent management and settlement features in English, Nepali, and Chinese, improving multi-language support. Updated the agents console to reflect changes in funding modes and player details, enhancing user experience. Refactored the admin permission gate to include new logic for handling bound line agents, ensuring better permission management. Additionally, streamlined the UI for agent-related pages and improved navigation to the settlement center, consolidating related functionalities for better accessibility.
This commit is contained in:
16
src/app/admin/(shell)/reports/legacy/page.tsx
Normal file
16
src/app/admin/(shell)/reports/legacy/page.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import { notFound } from "next/navigation";
|
||||
import { AdminPermissionGate } from "@/components/admin/admin-permission-gate";
|
||||
import { PRD_REPORTS_VIEW_ACCESS_ANY } from "@/lib/admin-prd";
|
||||
import { buildPageMetadata } from "@/lib/page-metadata";
|
||||
import { ReportsConsole } from "@/modules/reports/reports-console";
|
||||
import type { Metadata } from "next";
|
||||
|
||||
export const metadata: Metadata = buildPageMetadata("reports", "legacyTitle");
|
||||
|
||||
export default function AdminReportsLegacyPage(): React.ReactElement {
|
||||
return (
|
||||
<AdminPermissionGate requiredAny={PRD_REPORTS_VIEW_ACCESS_ANY}>
|
||||
<ReportsConsole initialCategory="legacy" />
|
||||
</AdminPermissionGate>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user