gui: show bypass banner for any session, not just active
The GUI is a global view - show bypass requests immediately regardless of which session is currently selected.
This commit is contained in:
parent
7b870443bb
commit
ceec28c2b9
|
|
@ -589,16 +589,14 @@ Connections {
|
|||
if (ollie.activeAgentId) chatPane.loadChat()
|
||||
}
|
||||
function onBypassRequested(sessionId, id, cmd, cwd) {
|
||||
// Show bypass request if it's for the active session
|
||||
if (sessionId === ollie.activeSessionId) {
|
||||
chatPane.pendingBypass = {
|
||||
sessionId: sessionId,
|
||||
id: id,
|
||||
cmd: cmd,
|
||||
cwd: cwd
|
||||
}
|
||||
chatPane.hasPendingBypass = true
|
||||
// Show bypass request immediately (no session filter - GUI is global)
|
||||
chatPane.pendingBypass = {
|
||||
sessionId: sessionId,
|
||||
id: id,
|
||||
cmd: cmd,
|
||||
cwd: cwd
|
||||
}
|
||||
chatPane.hasPendingBypass = true
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue