mirror of
https://github.com/open-webui/open-webui.git
synced 2025-03-17 21:32:42 +01: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…
x
Reference in New Issue
Block a user