diff --git a/public/js/pages/ticket-detail.js b/public/js/pages/ticket-detail.js index 108a88f..f4bacfd 100644 --- a/public/js/pages/ticket-detail.js +++ b/public/js/pages/ticket-detail.js @@ -14,6 +14,7 @@ const TicketDetail = { const isStaff = Auth.isAdmin(); const isOwner = Auth.isOwner(); const isRep = t.type === 'report'; + const isAppeal = t.type === 'appeal'; const canClaim = isStaff && (!t.assigned_to || t.status === 'pending'); const canTransfer = isStaff && t.assigned_to === Auth.user().id && t.status === 'processing'; const isMyTicket = t.assigned_to === Auth.user().id; @@ -25,7 +26,8 @@ const TicketDetail = {