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

Merge branch 'staging' into 'master'

Eubopen compounds: rename download pfd button to link to probe data package

See merge request !90
parents 4bfbd513 af8a4404
No related branches found
No related tags found
1 merge request!90Eubopen compounds: rename download pfd button to link to probe data package
...@@ -66,11 +66,10 @@ ...@@ -66,11 +66,10 @@
</div> </div>
</v-col> </v-col>
<v-col cols="12"> <v-col cols="12">
<b>Download probe data package:</b> <b>Link to probe data package:</b>
<br /><br /> <a :href="linkToProbePackage">
<v-btn :href="linkToPDF" color="primary"> {{ linkToProbePackage }}
<v-icon>mdi-download</v-icon> PDF </a>
</v-btn>
</v-col> </v-col>
</v-row> </v-row>
</v-card-text> </v-card-text>
...@@ -209,9 +208,10 @@ export default { ...@@ -209,9 +208,10 @@ export default {
) )
const srcIDs = compoundRecords.map((record) => record.src_id) const srcIDs = compoundRecords.map((record) => record.src_id)
if (srcIDs.includes(55)) { if (srcIDs.includes(55)) {
this.linkToPDF = 'https://www.thesgc.org/donated-chemical-probes' this.linkToProbePackage =
'https://www.thesgc.org/donated-chemical-probes'
} else { } else {
this.linkToPDF = 'https://www.eubopen.org/chemical-probes' this.linkToProbePackage = 'https://www.eubopen.org/chemical-probes'
} }
this.loading = false this.loading = false
......
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