mirror of
https://github.com/open-webui/open-webui
synced 2024-11-06 16:59:42 +00:00
don't overwrite name, keep url separate
This commit is contained in:
parent
ae44445464
commit
41bd16acbe
@ -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 New Issue
Block a user