From d2107961821dbd1375ba2a82c96446ab5a7ea72d Mon Sep 17 00:00:00 2001 From: Sabu Siyad Date: Mon, 1 May 2023 21:05:38 +0530 Subject: [PATCH] fix(ui): customer portal: ticket badge color (#1141) - resolved and closed -> green - open -> red --- desk/src/components/portal/tickets/TicketList.vue | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/desk/src/components/portal/tickets/TicketList.vue b/desk/src/components/portal/tickets/TicketList.vue index c0d280bf8..cc2eab843 100644 --- a/desk/src/components/portal/tickets/TicketList.vue +++ b/desk/src/components/portal/tickets/TicketList.vue @@ -189,16 +189,17 @@ export default { } }, getStatusBadgeColor(status) { + console.log(status); switch (status) { - case "Replied": - return "yellow" - case "Resolved": - return "red" + case "Closed": + return "green" case "On Hold": return "blue" - case "Closed": - return "red" case "Open": + return "red" + case "Replied": + return "yellow" + case "Resolved": return "green" } },