gui: fix bypass banner - use activeAgentId not agentId in QML
This commit is contained in:
parent
6dc9ffe3b1
commit
a269a6f790
|
|
@ -590,7 +590,7 @@ Connections {
|
|||
}
|
||||
function onBypassRequested(sessionId, agentId, id, cmd, cwd) {
|
||||
// Show bypass request only for the currently active agent
|
||||
if (sessionId === ollie.activeSessionId && agentId === ollie.agentId) {
|
||||
if (sessionId === ollie.activeSessionId && agentId === ollie.activeAgentId) {
|
||||
chatPane.pendingBypass = {
|
||||
sessionId: sessionId,
|
||||
agentId: agentId,
|
||||
|
|
|
|||
Loading…
Reference in New Issue