mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-06 11:37:57 -05:00
fix: blank Voice tab covers a shared chat opened during a call (#34250)
Opening a chat someone shared with you under "Allow replies" while your own voice call was running ended the call as intended, but left an empty Voice tab open in front of the chat, so the chat stayed hidden until you switched tabs. The Voice tab now closes along with the call, so the shared chat shows straight away. Fixes #34249
This commit is contained in:
1 parent
2547992b8a
commit
1fcec81fdd
1 file changed
+2
@@ -1491,6 +1491,8 @@
|
||||
showEmbeds.set(false);
|
||||
}
|
||||
$: if (viewReady && $showCallOverlay) openFeature('voice');
|
||||
$: if (viewReady && !$showCallOverlay && tabs.tabs.some((tab) => tab.kind === 'voice'))
|
||||
closeTab('voice');
|
||||
$: if (viewReady && $showTabs === 'voice') openFeature('voice');
|
||||
$: if (viewReady && $showFileNav) {
|
||||
const request = $showFileNav;
|
||||
|
||||
Reference in new issue
Block a user