From 097e726cb8fdb2b56f5360fa329dffe7d73373d4 Mon Sep 17 00:00:00 2001 From: hanif salafi Date: Mon, 1 Dec 2025 02:04:36 +0700 Subject: [PATCH] fix : update dashboard url --- app/[locale]/(protected)/dashboard/executive-data/page.tsx | 2 +- app/[locale]/(protected)/dashboard/executive/page.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"