diff --git a/app/[locale]/(protected)/dashboard/executive-data/page.tsx b/app/[locale]/(protected)/dashboard/executive-data/page.tsx index 50471119..a226f5f6 100644 --- a/app/[locale]/(protected)/dashboard/executive-data/page.tsx +++ b/app/[locale]/(protected)/dashboard/executive-data/page.tsx @@ -32,7 +32,7 @@ export default function ExecutiveDataDashboard() { const baseUrl = "https://db-mediahub.polri.go.id/"; const url = "https://db-mediahub.polri.go.id/trusted/"; - const safeLevelName = levelNumber ?? ""; + const safeLevelName = levelName ?? ""; // const view1 = // levelName == "MABES POLRI" diff --git a/app/[locale]/(protected)/dashboard/executive/page.tsx b/app/[locale]/(protected)/dashboard/executive/page.tsx index e3dd5d38..b5b30240 100644 --- a/app/[locale]/(protected)/dashboard/executive/page.tsx +++ b/app/[locale]/(protected)/dashboard/executive/page.tsx @@ -40,7 +40,7 @@ export default function ExecutiveDashboard() { const baseUrl = "https://db-mediahub.polri.go.id/"; const url = "https://db-mediahub.polri.go.id/trusted/"; - const safeLevelName = levelNumber ?? ""; + const safeLevelName = levelName ?? ""; const view1 = levelName == "MABES POLRI"