mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
refac
This commit is contained in:
parent
a89d29db9c
commit
a0692a434d
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@
|
|||
}
|
||||
|
||||
if (id.startsWith('http://') || id.startsWith('https://')) {
|
||||
source = { ...source, url: id };
|
||||
source = { name: id, ...source, url: id };
|
||||
}
|
||||
|
||||
const existingSource = acc.find((item) => item.id === id);
|
||||
|
|
|
|||
Loading…
Reference in a new issue