diff --git a/src/routes/+page.server.ts b/src/routes/+page.server.ts index 1f7a5a54..6f16aa46 100644 --- a/src/routes/+page.server.ts +++ b/src/routes/+page.server.ts @@ -19,6 +19,6 @@ export const load: PageServerLoad = async ({ url }) => { }); return { - models: models ? models.models : [] + models: models?.models ?? [] }; };