Update +page.server.ts
This commit is contained in:
1 parent
42087a4a29
commit
0f41abd7ce
1 file changed
+1
-1
@@ -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