mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 12:55: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];
|
||||
|
||||
// open the settings panel if it is not open
|
||||
selectedPanel = 'settings';
|
||||
|
||||
if (!showPanel) {
|
||||
showPanel = true;
|
||||
}
|
||||
|
||||
try {
|
||||
// If the file is an audio file, provide the language for STT.
|
||||
let metadata = null;
|
||||
|
|
@ -436,12 +443,6 @@ ${content}
|
|||
}
|
||||
|
||||
editor.storage.files = files;
|
||||
// open the settings panel if it is not open
|
||||
selectedPanel = 'settings';
|
||||
|
||||
if (!showPanel) {
|
||||
showPanel = true;
|
||||
}
|
||||
|
||||
changeDebounceHandler();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue