Skip to content

Commit

Permalink
fix(ui): customer portal: ticket badge color (#1141)
Browse files Browse the repository at this point in the history
- resolved and closed -> green
- open -> red
  • Loading branch information
ssiyad authored May 1, 2023
1 parent 7ac81b1 commit d210796
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions desk/src/components/portal/tickets/TicketList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
},
Expand Down

0 comments on commit d210796

Please sign in to comment.