From 22a14a4d2e8b6ea2d1b4d549b8c950a710cdca8d Mon Sep 17 00:00:00 2001 From: tofulm Date: Sat, 4 Feb 2023 00:13:33 +0100 Subject: [PATCH] fix: toggle all checkbox de tete de colonne --- src/components/gamuTable.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/gamuTable.vue b/src/components/gamuTable.vue index 8f51f71..e4274ff 100644 --- a/src/components/gamuTable.vue +++ b/src/components/gamuTable.vue @@ -1016,12 +1016,11 @@ function changerVue(vue) { quelleVue.value = vue; } function validerCheckboxCol(head) { - let tableau = tableau.value; if (Tcheckbox.value[head] !== undefined && Tcheckbox.value[head].length) { Tcheckbox.value[head] = []; } else { Tcheckbox.value[head] = []; - tableau.forEach((d) => { + tableau.value.forEach((d) => { Tcheckbox.value[head].push(d.html.id); }); }