fix: state translations

This commit is contained in:
Javier Segarra 2024-06-25 10:07:36 +02:00
parent b3a4dd3f79
commit 5a66af341f
1 changed files with 7 additions and 1 deletions

View File

@ -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();
</QPageSticky>
</QPage>
</template>
<i18n>
es:
New: Nueva
Denied: Denegada
Accepted: Aceptada
</i18n>