mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 12:55:19 +00:00
don't overwrite name, keep url separate
This commit is contained in:
parent
ae44445464
commit
41bd16acbe
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (id.startsWith('http://') || id.startsWith('https://')) {
|
if (id.startsWith('http://') || id.startsWith('https://')) {
|
||||||
source = { name: id };
|
source = { ..source, url: id };
|
||||||
}
|
}
|
||||||
|
|
||||||
const existingSource = acc.find((item) => item.id === id);
|
const existingSource = acc.find((item) => item.id === id);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue