From 30b6fad83e2cd7d0e0e89e7e6bafdc1b13815a28 Mon Sep 17 00:00:00 2001 From: Remi PLANEL <rplanel@pasteur.fr> Date: Thu, 2 May 2024 21:12:23 +0200 Subject: [PATCH] systen name in url lowercase --- 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 eab3701a..7d97afdd 100644 --- a/components/content/StructureDb.vue +++ b/components/content/StructureDb.vue @@ -159,7 +159,7 @@ function pdbNameToCif(pdbPath: string) { function buildStructureUrl(item: StructureItem) { - return [`/${item.system}/${pdbNameToCif(item.pdb)}`, `/${item.system}/${item.pdb}`] + return [`/${item.system.toLocaleLowerCase()}/${pdbNameToCif(item.pdb)}`, `/${item.system}/${item.pdb}`] } function displayStructure(item: StructureItem) { -- GitLab