mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 21:38:43 +00:00
refac
This commit is contained in:
parent
43f58098f8
commit
1ab47a1ff9
@ -58,7 +58,10 @@
|
|||||||
const workspaceModel = workspaceModels.find((wm) => wm.id === m.id);
|
const workspaceModel = workspaceModels.find((wm) => wm.id === m.id);
|
||||||
|
|
||||||
if (workspaceModel) {
|
if (workspaceModel) {
|
||||||
return workspaceModel;
|
return {
|
||||||
|
...m,
|
||||||
|
...workspaceModel
|
||||||
|
};
|
||||||
} else {
|
} else {
|
||||||
return {
|
return {
|
||||||
...m,
|
...m,
|
||||||
|
Loading…
Reference in New Issue
Block a user