From 3bb19684989f0ce8d61805bea07c89b3ed6098cc Mon Sep 17 00:00:00 2001 From: Konstantin Wohlwend Date: Wed, 29 Oct 2025 20:21:18 -0700 Subject: [PATCH] Fix apps --- .../(protected)/projects/[projectId]/app-enabled-guard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/app-enabled-guard.tsx b/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/app-enabled-guard.tsx index 9fe02268f..975d72348 100644 --- a/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/app-enabled-guard.tsx +++ b/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/app-enabled-guard.tsx @@ -14,7 +14,7 @@ export function AppEnabledGuard(props: { appId: AppId, children: ReactNode }) { const project = adminApp.useProject(); const config = project.useConfig(); const installedApps = config.apps.installed; - const isEnabled = installedApps[props.appId].enabled; + const isEnabled = installedApps[props.appId]?.enabled; useEffect(() => { if (!isEnabled) {