0
0
Fork 0

refs #6172 perf: remove message code

This commit is contained in:
Javier Segarra 2023-12-15 10:08:59 +01:00
parent 134cf011e3
commit ca314c65d8
3 changed files with 0 additions and 8 deletions

View File

@ -41,7 +41,6 @@ const onResponseError = (error) => {
const { response } = error;
const dataError = response?.data?.error;
const code = dataError?.code;
switch (response?.status) {
case 500:
@ -58,7 +57,6 @@ const onResponseError = (error) => {
message = `errors.${dataError?.message.replace(/\.*$/, '')}`;
break;
}
if (code) message = code;
if (session.isLoggedIn() && response?.status === 401) {
session.destroy();

View File

@ -244,9 +244,6 @@ export default {
selectVideo: 'Select video:',
notFound: 'No videos available',
},
error:{
locked: 'This item is locked'
},
summary: {
state: 'State',
salesPerson: 'Sales person',

View File

@ -242,9 +242,6 @@ export default {
selectVideo: 'Seleccionar vídeo:',
notFound: 'No hay vídeos disponibles',
},
error:{
locked: 'Este item está bloqueado'
},
summary: {
state: 'Estado',
salesPerson: 'Comercial',