mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-06 02:48:04 +00:00
fix: set legacy=false for collection_names format in ModelEditor
The knowledge mapping logic in ModelEditor.svelte unconditionally sets legacy: true for entries using the collection_names format. But collection_names is the current format (replacing the old singular collection_name), so it should not be marked as legacy. This caused all knowledge collections to display as 'Legacy Collection' in the Model Editor UI, even when using the current data format. Fixes #26035
This commit is contained in:
parent
f85cb27ef8
commit
6570f43cf1
1 changed files with 1 additions and 1 deletions
|
|
@ -312,7 +312,7 @@
|
|||
name: item.name,
|
||||
type: 'collection',
|
||||
collection_names: item.collection_names,
|
||||
legacy: true
|
||||
legacy: false
|
||||
};
|
||||
} else {
|
||||
return item;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue