diff --git a/components/report_cards/chemical_probe/CellViabilityAndHealthData.vue b/components/report_cards/chemical_probe/CellViabilityAndHealthData.vue index 1a9b005f2bf46fa58b02542f1b4e58e499403429..4a3c158a64f0266cc4bf362ce61eb4ec375f93e0 100644 --- a/components/report_cards/chemical_probe/CellViabilityAndHealthData.vue +++ b/components/report_cards/chemical_probe/CellViabilityAndHealthData.vue @@ -20,8 +20,11 @@ </v-card-text> <template v-else> <v-card-text> - <div class="d-flex justify-center align-center"> + <div class="d-flex justify-space-around align-center"> <DataExplanationDialog /> + <v-btn color="primary" :href="csvURL"> + CSV<v-icon right> mdi-download </v-icon> + </v-btn> </div> </v-card-text> <v-card-text> @@ -67,6 +70,11 @@ export default { dataPerConcentration: {}, } }, + computed: { + csvURL() { + return `${process.env.esProxyBaseUrl}/eubopen/visualisations/compound/cell_viability_and_health_data/download/CHEMBL180022` + }, + }, mounted() { this.loadData() },