mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 05:24:02 +00:00
Update +page.server.ts
This commit is contained in:
parent
42087a4a29
commit
0f41abd7ce
@ -19,6 +19,6 @@ export const load: PageServerLoad = async ({ url }) => {
|
||||
});
|
||||
|
||||
return {
|
||||
models: models ? models.models : []
|
||||
models: models?.models ?? []
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user