diff --git a/src/components/gamuTable.vue b/src/components/gamuTable.vue index 2ae0f5f..394ab34 100644 --- a/src/components/gamuTable.vue +++ b/src/components/gamuTable.vue @@ -447,9 +447,9 @@ const tableau = computed(() => { }); return rsearch; }); - if (!ttt.length) { - resetTri(); - } + // if (!ttt.length) { + // resetTri(); + // } return pagination(ttt); }); @@ -791,9 +791,6 @@ function chargerJson(id) { } Tfiltres.forEach((col) => { - console.log('col ', col); - console.log(filtreColSelected); - if (filtreCol.value.includes(col.champ)) { filtreColSelected.value[col.champ] = [ ...filtreColSelected.value[col.champ], @@ -824,6 +821,9 @@ function chargerJson(id) { } }); } + if (!tableau.value.length){ + resetTri(); + } if (parseInt(props._id) > 0) { let _id = parseInt(props._id); @@ -1089,7 +1089,6 @@ function delLigne(id) { if (id < 0) { id = id * -1; } - console.log("delLigne : ", id); let i = trouver_index(table.value, id); if (i !== -1) { table.value.splice(i, 1);