From a011bb87e34adf36b0ff3594ff6c8029dbf32f7e Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Wed, 3 Apr 2024 13:20:19 +0200
Subject: [PATCH] add other console

---
 components/content/pdockqMatrix.vue | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/components/content/pdockqMatrix.vue b/components/content/pdockqMatrix.vue
index 36411458..3767cdae 100644
--- a/components/content/pdockqMatrix.vue
+++ b/components/content/pdockqMatrix.vue
@@ -142,6 +142,8 @@ function getDataLabelFromCell(elem) {
 }
 watch(matrixPlot, () => {
     const cells = d3.selectAll(".pdockq-plot").selectAll("rect")
+    console.log("cells rect on watch")
+    console.log(cells)
     cells.on("click", function (event) {
         console.log("click on cells")
         const key = getDataLabelFromCell(this)
@@ -151,7 +153,6 @@ watch(matrixPlot, () => {
         const index = d3.select(event.srcElement).data()[0]
         const data = toValGroupedPdock.find(d => {
             console.log(d)
-
             return d[0] === key
         })
         if (data) {
-- 
GitLab