From 0144aab7a5f613d0775f14d79d56eccd2ad60ac0 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Tue, 9 Apr 2024 08:51:00 -0300 Subject: [PATCH] Mini fix --- src/i18n/en/index.js | 4 ++-- src/i18n/es/index.js | 4 ++-- src/pages/Item/ItemList.vue | 8 +++++--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index 59082422a..fdeec2744 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -1228,14 +1228,14 @@ export default { description: 'Description', stems: 'Stems', category: 'Category', - type: 'Type', + typeName: 'Type', intrastat: 'Intrastat', isActive: 'Active', size: 'Size', origin: 'Origin', userName: 'Buyer', weightByPiece: 'Weight/Piece', - multiplier: 'Multiplier', + stemMultiplier: 'Multiplier', producer: 'Producer', landed: 'Landed', }, diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index 16b2e9394..bc9cb0d01 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -1227,14 +1227,14 @@ export default { description: 'DescripciĆ³n', stems: 'Tallos', category: 'Reino', - type: 'Tipo', + typeName: 'Tipo', intrastat: 'Intrastat', isActive: 'Activo', size: 'Medida', origin: 'Origen', weightByPiece: 'Peso (gramos)/tallo', userName: 'Comprador', - multiplier: 'Multiplicador', + stemMultiplier: 'Multiplicador', producer: 'Productor', landed: 'F. entrega', }, diff --git a/src/pages/Item/ItemList.vue b/src/pages/Item/ItemList.vue index 304145e23..407b01fab 100644 --- a/src/pages/Item/ItemList.vue +++ b/src/pages/Item/ItemList.vue @@ -311,7 +311,7 @@ const columns = computed(() => [ format: (val) => dashIfEmpty(val), }, { - label: t('item.list.multiplier'), + label: t('item.list.stemMultiplier'), field: 'stemMultiplier', name: 'stemMultiplier', align: 'left', @@ -383,13 +383,15 @@ const cloneItem = async (itemFk) => { if (!data) return; router.push({ name: 'ItemTags', params: { id: data.id } }); } catch (err) { - console.error('Error cloning row', err); + console.error('Error cloning item', err); } }; onMounted(async () => { stateStore.rightDrawer = true; - const filteredColumns = columns.value.filter((col) => col.name !== 'picture'); + const filteredColumns = columns.value.filter( + (col) => col.name !== 'picture' && col.name !== 'actions' + ); allColumnNames.value = filteredColumns.map((col) => col.name); });