From d57a86e665ab9987d2afbdbc4a01619583efd7cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Fournier?= Date: Fri, 13 Dec 2024 17:00:19 +0100 Subject: [PATCH] fix: can't sort on undefined sdks --- src/lib/db/client-applications-store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/db/client-applications-store.ts b/src/lib/db/client-applications-store.ts index cc97c8ebd1aa..94ca9480d589 100644 --- a/src/lib/db/client-applications-store.ts +++ b/src/lib/db/client-applications-store.ts @@ -412,7 +412,7 @@ export default class ClientApplicationsStore return acc; }, []); environments.forEach((env) => { - env.sdks.sort(); + env.sdks?.sort(); }); return {