From 1f91e4cf998efcfc025f81466cc8f157cef49ca6 Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Fri, 12 Apr 2024 14:55:27 +0200
Subject: [PATCH] Fix issue: use correct selection to set struct image

---
 components/OperonStructure.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/OperonStructure.vue b/components/OperonStructure.vue
index 9df846ba..c7650a93 100644
--- a/components/OperonStructure.vue
+++ b/components/OperonStructure.vue
@@ -153,7 +153,7 @@ function drawGenes(genesGroup) {
             exit => exit.remove()
         )
     genesSelection.attr("transform", d => `translate(${d.x},${d.y})`)
-    genesGroup.select("image")
+    genesSelection.select("image")
         .attr("href", d => d?.structImg)
         .attr("width", d => d.width)
         .attr("height", d => d.height)
-- 
GitLab