Skip to content

Commit

Permalink
add order declined coloring
Browse files Browse the repository at this point in the history
  • Loading branch information
jabahum committed Apr 12, 2024
1 parent ddd6e25 commit e6fe8f6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/utils/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,12 @@ export function OrderTagStyle(order: any) {
color: "white",
};

case "DECLINED" || "EXCEPTION":
return {
background: "red",
color: "white",
};

default:
return {
background: "gray",
Expand Down

0 comments on commit e6fe8f6

Please sign in to comment.