| @@ -9,9 +9,15 @@ | ||
| 9 | 9 | Phone as PhoneIcon, |
| 10 | 10 | Mail, |
| 11 | 11 | } from "lucide-react"; |
| 12 | 12 | import { __ } from "../../lib/i18n"; |
| 13 | -import { formatDate, getBadge, phoneToTelHref, getYatraAccountPageGlobals } from "./utils"; | |
| 13 | +import { | |
| 14 | + formatDate, | |
| 15 | + getBadge, | |
| 16 | + getStatusLabel, | |
| 17 | + phoneToTelHref, | |
| 18 | + getYatraAccountPageGlobals, | |
| 19 | +} from "./utils"; | |
| 14 | 20 | import type { SupportTicket } from "./types"; |
| 15 | 21 | |
| 16 | 22 | interface SupportProps { |
| 17 | 23 | tickets: SupportTicket[]; |
| @@ -243,9 +249,9 @@ | ||
| 243 | 249 | </div> |
| 244 | 250 | </div> |
| 245 | 251 | <div className="flex items-center gap-3"> |
| 246 | 252 | <span className={getBadge(ticket.status)}> |
| 247 | - {__(ticket.status, ticket.status)} | |
| 253 | + {getStatusLabel(ticket.status)} | |
| 248 | 254 | </span> |
| 249 | 255 | <div |
| 250 | 256 | role="button" |
| 251 | 257 | tabIndex={0} |