Skip to content
Snippets Groups Projects
Commit ea879e0f authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

Merge branch 'operon-struct-type' into operon-struct-type-article

parents f493a60f 6c61e418
No related branches found
No related tags found
No related merge requests found
Pipeline #129384 waiting for manual action with stages
in 8 minutes and 8 seconds
......@@ -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}` }))
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment