mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 22:05:19 +00:00
refac
This commit is contained in:
parent
c1c589d609
commit
dcb1c0a146
1 changed files with 7 additions and 6 deletions
|
|
@ -385,6 +385,13 @@ ${content}
|
||||||
|
|
||||||
files = [...files, fileItem];
|
files = [...files, fileItem];
|
||||||
|
|
||||||
|
// open the settings panel if it is not open
|
||||||
|
selectedPanel = 'settings';
|
||||||
|
|
||||||
|
if (!showPanel) {
|
||||||
|
showPanel = true;
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// If the file is an audio file, provide the language for STT.
|
// If the file is an audio file, provide the language for STT.
|
||||||
let metadata = null;
|
let metadata = null;
|
||||||
|
|
@ -436,12 +443,6 @@ ${content}
|
||||||
}
|
}
|
||||||
|
|
||||||
editor.storage.files = files;
|
editor.storage.files = files;
|
||||||
// open the settings panel if it is not open
|
|
||||||
selectedPanel = 'settings';
|
|
||||||
|
|
||||||
if (!showPanel) {
|
|
||||||
showPanel = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
changeDebounceHandler();
|
changeDebounceHandler();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue