Skip to content
Snippets Groups Projects
Commit 0900ffb4 authored by David Mendez's avatar David Mendez
Browse files

EUbOPEN: add synonyms to targets browser

parent d57f6b4b
No related branches found
No related tags found
1 merge request!13Tweak properties of compounds and targets browsers
......@@ -49,10 +49,7 @@
class="d-flex align-center flex-column flex-md-row"
>
<b>Synonyms:</b>
<Synonyms
type="molecule_synonyms"
:molecule-synonyms="probeSummaryData.molecule_synonyms"
/>
<Synonyms type="molecule_synonyms" :entity-i-d="itemID" />
</v-col>
</v-row>
<v-divider />
......
......@@ -24,10 +24,7 @@
<v-col cols="12">
<div class="d-flex align-center flex-column flex-md-row">
<b>Synonyms:</b>
<Synonyms
type="target_synonyms"
:target-components="nameAndClassificationData.target_components"
/>
<Synonyms type="target_synonyms" :entity-i-d="itemID" />
</div>
</v-col>
</v-row>
......
......@@ -38,6 +38,8 @@ export default {
: 2000,
compoundReportCardsBaseUrl:
process.env.COMPOUND_REPORT_CARDS_BASE_URL || '/compound',
targetReportCardsBaseUrl:
process.env.TARGET_REPORT_CARDS_BASE_URL || '/target',
},
// Global CSS: https://go.nuxtjs.dev/config-css
......
......@@ -19,11 +19,7 @@ export const mutations = {
export const actions = {
loadData({ commit, state, dispatch }, itemID) {
const docSource = [
'molecule_synonyms',
'pref_name',
'_metadata.compound_generated.image_file',
]
const docSource = ['pref_name', '_metadata.compound_generated.image_file']
const entityID = EntityNames.EubopenCompound.entityID
const indexName = IndexNames.getIndexNameFromEntityID(entityID)
......
Subproject commit 8ecd7732b1378d6502466b5b801f04b1bff428c6
Subproject commit 909399df3e26d1890f9a94b5cf419c4c45aeab07
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