From 5544676a1b4a3f0bab4c79e4d88e743dc5b69c07 Mon Sep 17 00:00:00 2001 From: pablone Date: Thu, 25 Apr 2024 16:18:06 +0200 Subject: [PATCH] fix: mistakes like console.log an disables --- src/i18n/locale/en.yml | 3 ++- src/i18n/locale/es.yml | 2 ++ src/pages/Agency/AgencyList.vue | 8 -------- src/pages/Agency/Card/AgencyDescriptor.vue | 1 - src/pages/Agency/Card/AgencyModes.vue | 1 - src/pages/Agency/Card/AgencySummary.vue | 7 ++++++- src/pages/Agency/Card/AgencyWorkcenter.vue | 2 ++ src/pages/Customer/components/CustomerCreditCreate.vue | 1 - src/pages/Ticket/TicketCreate.vue | 1 - 9 files changed, 12 insertions(+), 14 deletions(-) diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 4de062ab0..636774d54 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -98,6 +98,7 @@ globals: worker: Worker now: Now name: Name + new: New errors: statusUnauthorized: Access denied statusInternalServerError: An internal server error has ocurred @@ -1174,8 +1175,8 @@ agency: isOwn: Own isAnyVolumeAllowed: Any volume allowed notification: - removeItem: Agency removed successfully removeItemError: Error removing agency + removeItem: WorkCenter removed successfully pageTitles: agency: Agency searchBar: diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index 10b77ef49..a2c7dd4dc 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -98,6 +98,7 @@ globals: worker: Trabajador now: Ahora name: Nombre + new: Nuevo errors: statusUnauthorized: Acceso denegado statusInternalServerError: Ha ocurrido un error interno del servidor @@ -1175,6 +1176,7 @@ agency: removeItem: Agencia eliminada correctamente notification: removeItemError: Error al eliminar la agencia + removeItem: Centro de trabajo eliminado correctamente pageTitles: agency: Agencia searchBar: diff --git a/src/pages/Agency/AgencyList.vue b/src/pages/Agency/AgencyList.vue index c04206625..88abba3eb 100644 --- a/src/pages/Agency/AgencyList.vue +++ b/src/pages/Agency/AgencyList.vue @@ -14,7 +14,6 @@ function navigate(id) { } function exprBuilder(param, value) { if (!value) return; - console.log('value: ', value); if (param !== 'search') return; if (!isNaN(value)) return { id: value }; @@ -62,13 +61,6 @@ function exprBuilder(param, value) { :disable="true" /> - diff --git a/src/pages/Agency/Card/AgencyDescriptor.vue b/src/pages/Agency/Card/AgencyDescriptor.vue index 311f5d3a5..0fa89d07d 100644 --- a/src/pages/Agency/Card/AgencyDescriptor.vue +++ b/src/pages/Agency/Card/AgencyDescriptor.vue @@ -19,7 +19,6 @@ const { params } = useRoute(); const entityId = computed(() => props.id || params.id); const { store } = useArrayData('Parking'); const card = computed(() => store.data); -console.log('card: ', card);