Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Metagenomics
metagenedb
Commits
242959c3
Commit
242959c3
authored
Aug 10, 2020
by
Kenzo-Hugo Hillion
♻
Browse files
fix references listing in gene detail
parent
25dd11af
Pipeline
#35445
passed with stages
in 3 minutes and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/components/keggcard/keggcard.js
View file @
242959c3
...
...
@@ -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
"
},
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment