fixed some types, add some labels
This commit is contained in:
@@ -105,6 +105,8 @@ const DistrictsViewPage = lazy(() => import("@/pages/settings/location/districts
|
||||
const DistrictEditPage = lazy(() => import("@/pages/settings/location/districtsEdit"));
|
||||
const BranchesPage = lazy(() => import("@/pages/settings/location/branches"));
|
||||
const BackupsPage = lazy(() => import("@/pages/backups"));
|
||||
const ActivityLogsPage = lazy(() => import("@/pages/logs"));
|
||||
const ActivityLogViewPage = lazy(() => import("@/pages/logs/view"));
|
||||
const BranchCreatePage = lazy(() => import("@/pages/settings/location/branchesCreate"));
|
||||
const BranchesViewPage = lazy(() => import("@/pages/settings/location/branchesView"));
|
||||
const BranchEditPage = lazy(() => import("@/pages/settings/location/branchesEdit"));
|
||||
@@ -587,6 +589,19 @@ const routes: AppRoute[] = [
|
||||
element: page(BackupsPage),
|
||||
},
|
||||
|
||||
// ── LOGLAR ──────────────────────────────────────────────────────
|
||||
{
|
||||
...bc((t) => t("logs.title", "Loglar"), "/logs"),
|
||||
children: [
|
||||
{ path: "/logs", element: page(ActivityLogsPage) },
|
||||
{
|
||||
path: "/logs/:id",
|
||||
handle: { title: (t) => t("logs.viewTitle", "Log giňişleýin") },
|
||||
element: page(ActivityLogViewPage),
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
// ── SAZLAMALAR > ULANYJYLAR ───────────────────────────────────────
|
||||
{
|
||||
...bc((t) => t("nav.settings", "Sazlamalar")),
|
||||
|
||||
Reference in New Issue
Block a user