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>
|
||||
</div>
|
||||
) : (
|
||||
sortedSessions.map((session) => (
|
||||
<ChatSessionItem
|
||||
key={session.ticketId}
|
||||
session={session}
|
||||
onClick={() => onSelectSession(session.ticketId, session.ticketRef)}
|
||||
/>
|
||||
))
|
||||
sortedSessions.map((session) => {
|
||||
console.log("[ChatSessionList] Sessao:", session)
|
||||
return (
|
||||
<ChatSessionItem
|
||||
key={session.ticketId}
|
||||
session={session}
|
||||
onClick={() => {
|
||||
console.log("[ChatSessionList] Clicando na sessao:", session.ticketId, session.ticketRef)
|
||||
onSelectSession(session.ticketId, session.ticketRef)
|
||||
}}
|
||||
/>
|
||||
)
|
||||
})
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue