From 6c61e418fc5b5390d8eab876d6ef966c01235e61 Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Thu, 25 Apr 2024 18:10:27 +0200
Subject: [PATCH] Fix issue with fasta file name

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

diff --git a/components/content/StructureDb.vue b/components/content/StructureDb.vue
index 417a7e70..ebc98ea7 100644
--- a/components/content/StructureDb.vue
+++ b/components/content/StructureDb.vue
@@ -151,7 +151,7 @@ function namesToCollapsibleChips(names: string[], systemDir: string, file: strin
     if (file === null) {
         return names.filter((it) => it !== "").map(it => ({ title: extractGeneName(it) }))
     } else {
-        return names.filter((it) => it !== "").map(it => ({ title: extractGeneName(it), href: `/wiki/${systemDir}/${file}` }))
+        return names.filter((it) => it !== "").map(it => ({ title: extractGeneName(it), href: `/wiki/${systemDir.toLocaleLowerCase()}/${file}` }))
     }
 }
 
-- 
GitLab