diff --git a/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/(overview)/metrics-page.tsx b/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/(overview)/metrics-page.tsx index ef9f4f6c4..3db644ad0 100644 --- a/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/(overview)/metrics-page.tsx +++ b/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/(overview)/metrics-page.tsx @@ -50,9 +50,9 @@ export default function MetricsPage(props: { toSetup: () => void }) { const [includeAnonymous, setIncludeAnonymous] = useState(false); const data = (adminApp as any)[stackAppInternalsSymbol].useMetrics(includeAnonymous); - + // const installedApps = Object.entries(config.apps.installed) - .filter(([_, appConfig]) => appConfig.enabled) + .filter(([_, appConfig]) => appConfig?.enabled) .map(([appId]) => appId as AppId); const suggestedApps = typedEntries(ALL_APPS) diff --git a/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/apps/page-client.tsx b/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/apps/page-client.tsx index 296a999b8..ba68ba569 100644 --- a/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/apps/page-client.tsx +++ b/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/apps/page-client.tsx @@ -12,7 +12,7 @@ export default function PageClient() { // Get installed apps const installedApps = Object.entries(config.apps.installed) - .filter(([_, appConfig]) => appConfig.enabled) + .filter(([_, appConfig]) => appConfig?.enabled) .map(([appId]) => appId as AppId); // Group apps by tag