mirror of
https://github.com/suitenumerique/meet.git
synced 2026-10-14 09:01:21 +00:00
fixup! ✨(frontend) add open-in-separate-window control for screen shares
This commit is contained in:
@@ -89,7 +89,13 @@ export const useScreenSharePopout = ({
|
||||
reportError('generic_failure', error, {
|
||||
context: 'screen_share_popout_init',
|
||||
})
|
||||
next.close()
|
||||
// The open may already have cleared the pin and stored the window.
|
||||
// Closing it alone would leave the meeting unpinned.
|
||||
if (screenSharePopoutStore.entry) {
|
||||
closeScreenSharePopout({ restorePin: true })
|
||||
} else {
|
||||
next.close()
|
||||
}
|
||||
}
|
||||
}, [announce, getVideoElement, release, t, title, trackSid, windowName])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user