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 @@
</div>
</v-col>
<v-col cols="12">
<b>Download probe data package:</b>
<br /><br />
<v-btn :href="linkToPDF" color="primary">
<v-icon>mdi-download</v-icon> PDF
</v-btn>
<b>Link to probe data package:</b>
<a :href="linkToProbePackage">
{{ linkToProbePackage }}
</a>
</v-col>
</v-row>
</v-card-text>
......@@ -209,9 +208,10 @@ export default {
)
const srcIDs = compoundRecords.map((record) => record.src_id)
if (srcIDs.includes(55)) {
this.linkToPDF = 'https://www.thesgc.org/donated-chemical-probes'
this.linkToProbePackage =
'https://www.thesgc.org/donated-chemical-probes'
} else {
this.linkToPDF = 'https://www.eubopen.org/chemical-probes'
this.linkToProbePackage = 'https://www.eubopen.org/chemical-probes'
}
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