debug(chat): adiciona mais logs para debugar clique na lista
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
ca59b6ed92
commit
a3b46e5222
1 changed files with 13 additions and 7 deletions
|
|
@ -85,13 +85,19 @@ export function ChatSessionList({
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
sortedSessions.map((session) => (
|
sortedSessions.map((session) => {
|
||||||
<ChatSessionItem
|
console.log("[ChatSessionList] Sessao:", session)
|
||||||
key={session.ticketId}
|
return (
|
||||||
session={session}
|
<ChatSessionItem
|
||||||
onClick={() => onSelectSession(session.ticketId, session.ticketRef)}
|
key={session.ticketId}
|
||||||
/>
|
session={session}
|
||||||
))
|
onClick={() => {
|
||||||
|
console.log("[ChatSessionList] Clicando na sessao:", session.ticketId, session.ticketRef)
|
||||||
|
onSelectSession(session.ticketId, session.ticketRef)
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
)
|
||||||
|
})
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue