From 5a66af341f2f4d288fdef7f50e2afd2624ce4e05 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Tue, 25 Jun 2024 10:07:36 +0200 Subject: [PATCH] fix: state translations --- src/pages/Ticket/Card/TicketPurchaseRequest.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/pages/Ticket/Card/TicketPurchaseRequest.vue b/src/pages/Ticket/Card/TicketPurchaseRequest.vue index 387a5baf1..ea81a445c 100644 --- a/src/pages/Ticket/Card/TicketPurchaseRequest.vue +++ b/src/pages/Ticket/Card/TicketPurchaseRequest.vue @@ -123,7 +123,7 @@ const columns = computed(() => [ name: 'state', field: 'isOk', align: 'left', - format: (val) => getRequestState(val), + format: (val) => t(getRequestState(val)), }, { label: '', @@ -259,3 +259,9 @@ const openCreateModal = () => createTicketRequestDialogRef.value.show(); + + es: + New: Nueva + Denied: Denegada + Accepted: Aceptada +