From 6ec44ad101b9fcffc0e3ddc6b2e329c6a0f780a9 Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Wed, 20 Dec 2023 09:43:59 +0100
Subject: [PATCH] remove fake link and add effector in filters

---
 components/content/RefseqDb.vue | 5 ++++-
 components/content/SystemDb.vue | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/components/content/RefseqDb.vue b/components/content/RefseqDb.vue
index 273f4a4d..ee4e713b 100644
--- a/components/content/RefseqDb.vue
+++ b/components/content/RefseqDb.vue
@@ -186,7 +186,10 @@ function namesToCollapsibleChips(names: string[]) {
 
 function namesToAccessionChips(names: string[]) {
     return namesToCollapsibleChips(names).map(it => {
-        return { ...it, href: new URL(it.title, "http://toto.pasteur.cloud").toString() }
+        return {
+            ...it,
+            // href: new URL(it.title, "http://toto.pasteur.cloud").toString()
+        }
     })
 }
 const systemPanel: Ref<number> = ref(["table"])
diff --git a/components/content/SystemDb.vue b/components/content/SystemDb.vue
index 571df612..1008b08f 100644
--- a/components/content/SystemDb.vue
+++ b/components/content/SystemDb.vue
@@ -3,7 +3,7 @@ import type { SortItem } from "@/components/ServerDbTable.vue"
 import { ServerDbTable } from "#components"
 const sortBy: Ref<SortItem[]> = ref([{ key: 'title', order: "asc" }])
 const itemValue = ref("title");
-const facets: Ref<string[]> = ref(["title", "Sensor", "Activator"])
+const facets: Ref<string[]> = ref(["title", "Sensor", "Effector", "Activator"])
 const headers: Ref<Object[]> = ref([
     { title: "System", key: "title", removable: false },
     { title: "Article", key: "doi", removable: false },
-- 
GitLab