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()
|
if (ollie.activeAgentId) chatPane.loadChat()
|
||||||
}
|
}
|
||||||
function onBypassRequested(sessionId, id, cmd, cwd) {
|
function onBypassRequested(sessionId, id, cmd, cwd) {
|
||||||
// Show bypass request if it's for the active session
|
// Show bypass request immediately (no session filter - GUI is global)
|
||||||
if (sessionId === ollie.activeSessionId) {
|
chatPane.pendingBypass = {
|
||||||
chatPane.pendingBypass = {
|
sessionId: sessionId,
|
||||||
sessionId: sessionId,
|
id: id,
|
||||||
id: id,
|
cmd: cmd,
|
||||||
cmd: cmd,
|
cwd: cwd
|
||||||
cwd: cwd
|
|
||||||
}
|
|
||||||
chatPane.hasPendingBypass = true
|
|
||||||
}
|
}
|
||||||
|
chatPane.hasPendingBypass = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue