Commit 242959c3 authored by Kenzo-Hugo Hillion's avatar Kenzo-Hugo Hillion
Browse files

fix references listing in gene detail

parent 25dd11af
Pipeline #35445 passed with stages
in 3 minutes and 39 seconds
......@@ -37,7 +37,6 @@ export default {
.then((response) => {
this.buildKeggDetails(response);
this.buildKeggExpandDetails(response);
this.buildReferences(response);
})
.catch((error) => {
console.log(error);
......@@ -69,6 +68,7 @@ export default {
this.buildPathways(response),
this.buildDiseases(response),
this.buildModules(response),
this.buildReferences(response),
];
},
buildPathways(response) {
......@@ -143,7 +143,7 @@ export default {
{
id: response.data.references[i].title,
name: `${response.data.references[i].authors[0]} et al. ${response.data.references[i].journal}`,
url: `https://www.ncbi.nlm.nih.gov/pubmed/${response.data.references[i].pubmed}`,
url: `https://www.ncbi.nlm.nih.gov/pubmed/${response.data.references[i].pubmed_id}`,
url_label: "Open in Pubmed"
},
);
......
Markdown is supported
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