mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-27 23:59:20 -05:00
fix: a saved voice note does not open in a tab (#33902)
Saving a voice note wrote the recording and the Markdown note to the Open Terminal, but the note never opened, so people had to find it in the file browser by hand. The saved note now opens in its own tab right after Save. Fixes #33886
This commit is contained in:
1 parent
639766f7f9
commit
0ffe091088
1 file changed
+2
-1
@@ -243,8 +243,9 @@
|
||||
);
|
||||
if (!note?.path) throw new Error();
|
||||
draft = undefined;
|
||||
onclose();
|
||||
// onsaved reads the target that onclose clears
|
||||
onsaved(note.path);
|
||||
onclose();
|
||||
} catch {
|
||||
error = $i18n.t('Could not save the voice note. Retry or download the recording.');
|
||||
} finally {
|
||||
|
||||
Reference in new issue
Block a user