Update +page.server.ts
This commit is contained in:
@@ -19,6 +19,6 @@ export const load: PageServerLoad = async ({ url }) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
return {
|
return {
|
||||||
models: models ? models.models : []
|
models: models?.models ?? []
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user