From 0fd004dd8476e8a18d7b5b117acf31d1a92f8e9b Mon Sep 17 00:00:00 2001 From: canglan Date: Sun, 12 Jul 2026 17:35:23 +0800 Subject: [PATCH] fix: result_appeal also uses appeal display logic in ticket detail --- public/js/pages/ticket-detail.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/pages/ticket-detail.js b/public/js/pages/ticket-detail.js index 74050f4..0ba78d7 100644 --- a/public/js/pages/ticket-detail.js +++ b/public/js/pages/ticket-detail.js @@ -14,7 +14,7 @@ const TicketDetail = { const isStaff = Auth.isAdmin(); const isOwner = Auth.isOwner(); const isRep = t.type === 'report'; - const isAppeal = t.type === 'appeal'; + const isAppeal = t.type === 'appeal' || t.type === 'result_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;