feat: PSA ticket management — /tickets page, detail panel, AI ticket creation #141

Merged
chihlasm merged 36 commits from feat/psa-ticket-management into main 2026-04-25 04:59:02 +00:00
Showing only changes of commit fded959b5e - Show all commits

View File

@@ -247,7 +247,10 @@ export default function AssistantChatPage() {
setActivePsaTicketId(detail.psa_ticket_id)
if (detail.psa_ticket_id) {
integrationsApi.getTicket(detail.psa_ticket_id)
.then(setLinkedTicket)
.then(ticket => {
if (currentChatRef.current !== chatId) return
setLinkedTicket(ticket)
})
.catch(() => {})
} else {
setLinkedTicket(null)