From efd35d96bcea11cfba7329024fee84c75ebd14ed Mon Sep 17 00:00:00 2001
From: Simon Malesys <simon.malesys@pasteur.fr>
Date: Wed, 6 Mar 2024 10:54:55 +0100
Subject: [PATCH] Add links to the phenotypes refs

---
 client/pages/gwas.vue | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/client/pages/gwas.vue b/client/pages/gwas.vue
index 8d9a397a..c9b643dd 100644
--- a/client/pages/gwas.vue
+++ b/client/pages/gwas.vue
@@ -59,6 +59,10 @@
             class="mx-4">
           </v-text-field>
         </template>
+
+        <template v-slot:item.ref="{ item }">
+          <a class="ref-link" :href="item.ref_link" target="_blank" rel="noreferrer">{{ item.ref }}</a>
+        </template>
       </v-data-table>
       <div class="start-button">
         <v-btn class="button" color="primary" :disabled="selectedRows.length <= 1" @click="runAnalysis()">
@@ -182,4 +186,8 @@ section h2 {
   text-align: center;
   margin-top: 20px;
 }
+
+.ref-link {
+  font-size: inherit;
+}
 </style>
-- 
GitLab