From 395402fce041878b618a1074fc205e855ca187e0 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Mon, 2 Dec 2024 10:54:26 -0300 Subject: [PATCH] refactor: refs #8224 remove console.logs --- src/components/common/ContextMenu.vue | 10 ---------- src/pages/Ticket/TicketList.vue | 1 - 2 files changed, 11 deletions(-) diff --git a/src/components/common/ContextMenu.vue b/src/components/common/ContextMenu.vue index 70dc4c149..9f5c4e4ee 100644 --- a/src/components/common/ContextMenu.vue +++ b/src/components/common/ContextMenu.vue @@ -67,18 +67,11 @@ const filterBySelection = () => { * Exclude by current field selection */ const excludeSelection = () => { - console.log('Exclude selection'); - // TODO: Revisar porque no se aplica and en el filtro let where = { [fieldName.value]: { neq: fieldValue.value } }; - console.log('first where: ', where); if ($props.exprBuilder) { where = { [fieldName.value]: fieldValue.value }; where = buildFilter(where, (param, value) => { - console.log('build filter where: ', where); - console.log('parammmmm: ', param); - console.log('valueeeee: ', value); const expr = $props.exprBuilder(param, value); - console.log('expr: ', expr); const props = Object.keys(expr); let newExpr = {}; for (let prop of props) { @@ -95,7 +88,6 @@ const excludeSelection = () => { }; } else newExpr[prop] = { neq: fieldValue.value }; } - console.log('newExpr: ', newExpr); return newExpr; }); } @@ -161,8 +153,6 @@ const removeAllFilters = () => { * value to the clipboard */ const copyValue = () => { - console.log('table row: ', $props.tableRow); - console.log('table col: ', $props.tableCol); navigator.clipboard.writeText($props.tableRow[copyValueField.value]); }; diff --git a/src/pages/Ticket/TicketList.vue b/src/pages/Ticket/TicketList.vue index bc1b2d0c1..0e2719705 100644 --- a/src/pages/Ticket/TicketList.vue +++ b/src/pages/Ticket/TicketList.vue @@ -203,7 +203,6 @@ const columns = computed(() => [ format: (row) => toTimeFormat(row.shipped), }, { - //TODO: Revisar porque no anda exclude filter align: 'left', name: 'zoneLanding', label: t('ticketList.closure'),