From d88eff231046185569f4383c8a99ec22b0b4c0c5 Mon Sep 17 00:00:00 2001 From: John Bickar Date: Tue, 7 Oct 2025 13:32:34 -0700 Subject: [PATCH] BUGFIX: async loading of application name on detail page --- app/applications/[uuid]/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/applications/[uuid]/page.tsx b/app/applications/[uuid]/page.tsx index 1a32b58..ace6953 100644 --- a/app/applications/[uuid]/page.tsx +++ b/app/applications/[uuid]/page.tsx @@ -49,7 +49,7 @@ export default function ApplicationDetailPage({ params }: any) { setLoadingStep('Fetching application info...'); const res = await fetch(`/api/acquia/applications?subscriptionUuid=${subscriptionUuid}`); const apps = await res.json(); - const app = Array.isArray(apps.data) ? apps.data.find((a: any) => a.uuid === typedParams.uuid) : null; + const app = Array.isArray(apps) ? apps.find((a: any) => a.uuid === typedParams.uuid) : null; setAppName(app ? app.name : ''); } catch { setAppName('');