forked from verdnatura/salix-front
Add states translations
This commit is contained in:
parent
5f01e5c705
commit
7165e48bff
|
@ -164,9 +164,9 @@ const confirmRequest = async (request) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const getState = (isOk) => {
|
const getState = (isOk) => {
|
||||||
if (isOk === null) return 'Pending';
|
if (isOk === null) return t('Pending');
|
||||||
else if (isOk) return 'Accepted';
|
else if (isOk) return t('Accepted');
|
||||||
else return 'Denied';
|
else return t('Denied');
|
||||||
};
|
};
|
||||||
|
|
||||||
const showDenyRequestForm = (requestId, rowIndex) => {
|
const showDenyRequestForm = (requestId, rowIndex) => {
|
||||||
|
@ -354,4 +354,7 @@ onBeforeMount(() => {
|
||||||
es:
|
es:
|
||||||
Discard: Descartar
|
Discard: Descartar
|
||||||
You can search by Id or alias: Buscar peticiones por identificador o alias
|
You can search by Id or alias: Buscar peticiones por identificador o alias
|
||||||
|
Denied: Denegada
|
||||||
|
Accepted: Aceptada
|
||||||
|
Pending: Pendiente
|
||||||
</i18n>
|
</i18n>
|
||||||
|
|
Loading…
Reference in New Issue