refactor: refs #8224 remove console.logs
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
William Buezas 2024-12-02 10:54:26 -03:00
parent 2498c8e365
commit 395402fce0
2 changed files with 0 additions and 11 deletions

View File

@ -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]);
};

View File

@ -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'),