mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 13:55:19 +00:00
refac
This commit is contained in:
parent
43f58098f8
commit
1ab47a1ff9
1 changed files with 4 additions and 1 deletions
|
|
@ -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 a new issue