mirror of
https://github.com/open-webui/open-webui
synced 2024-11-22 08:07:55 +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