Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EUbOPEN Web
Manage
Activity
Members
Labels
Plan
Issues
15
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ChEMBL
EUbOPEN
EUbOPEN Web
Commits
c008a18e
Commit
c008a18e
authored
8 months ago
by
David Mendez
Browse files
Options
Downloads
Patches
Plain Diff
sets mockup: use eubopen id for compounds when no pref name
parent
18dc0516
Branches
staging
Branches containing commit
No related tags found
1 merge request
!100
Add alternative forms and Sets page
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
components/mockups/OneSet.vue
+4
-4
4 additions, 4 deletions
components/mockups/OneSet.vue
with
4 additions
and
4 deletions
components/mockups/OneSet.vue
+
4
−
4
View file @
c008a18e
...
...
@@ -37,7 +37,7 @@
class=
"d-flex flex-column justify-center align-center"
>
<MoleculeImage
:molecule-chembl-id=
"item['
Molecule ChEMBL
ID']"
:molecule-chembl-id=
"item['
EUbOPEN Compound
ID']"
:aspect-ratio=
"String(16 / 9)"
max-width=
"250px"
contain
...
...
@@ -139,13 +139,13 @@ export default {
},
showItemLinkToCompound
(
item
)
{
return
(
item
[
'
Molecule ChEMBL
ID
'
]
!=
null
&&
item
[
'
Molecule ChEMBL
ID
'
]
!==
this
.
nullTextValue
item
[
'
EUbOPEN Compound
ID
'
]
!=
null
&&
item
[
'
EUbOPEN Compound
ID
'
]
!==
this
.
nullTextValue
)
},
getItemCompoundIDText
(
item
)
{
const
compoundPrefName
=
item
.
COMPOUND_NAME
const
compoundID
=
item
[
'
Molecule ChEMBL
ID
'
]
const
compoundID
=
item
[
'
EUbOPEN Compound
ID
'
]
return
compoundPrefName
==
null
||
compoundPrefName
===
this
.
nullTextValue
?
compoundID
:
compoundPrefName
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment