diff --git a/src/components/DatasetCard.vue b/src/components/DatasetCard.vue
index d0b692a6..8bf89a31 100644
--- a/src/components/DatasetCard.vue
+++ b/src/components/DatasetCard.vue
@@ -15,7 +15,7 @@
:dataset-biolucida="biolucidaData"
:category="currentCategory"
@card-clicked="galleryClicked"
- @dataset-clicked="galleryDatasetClicked"
+ @datalink-clicked="galleryDatalinkClicked"
/>
@@ -164,8 +164,8 @@ export default {
galleryClicked: function (payload) {
this.propogateCardAction(payload)
},
- galleryDatasetClicked: function (payload) {
- EventBus.emit('dataset-clicked', payload); // Pass to mapintegratedvuer
+ galleryDatalinkClicked: function (payload) {
+ EventBus.emit('datalink-clicked', payload); // Pass to mapintegratedvuer
},
openDataset: function () {
window.open(this.dataLocation, '_blank')
diff --git a/src/components/ImageGallery.vue b/src/components/ImageGallery.vue
index f2783f89..bab86df4 100644
--- a/src/components/ImageGallery.vue
+++ b/src/components/ImageGallery.vue
@@ -13,7 +13,7 @@
:body-style="bodyStyle"
:shadow="shadow"
@card-clicked="cardClicked"
- @dataset-clicked="datasetClicked"
+ @datalink-clicked="datalinkClicked"
ref="gallery"
/>
@@ -117,8 +117,8 @@ export default {
cardClicked: function (payload) {
this.$emit('card-clicked', payload)
},
- datasetClicked: function (payload) {
- this.$emit('dataset-clicked', payload);
+ datalinkClicked: function (payload) {
+ this.$emit('datalink-clicked', payload);
},
createSciCurnchItems: function () {
this.updateS3Bucket(this.entry.s3uri)
diff --git a/src/components/SideBar.vue b/src/components/SideBar.vue
index c751a1d5..35b7943b 100644
--- a/src/components/SideBar.vue
+++ b/src/components/SideBar.vue
@@ -211,14 +211,14 @@ export default {
*/
this.$emit('contextUpdate', payLoad)
})
- EventBus.on('dataset-clicked', (payLoad) => {
+ EventBus.on('datalink-clicked', (payLoad) => {
/**
* This event is emitted
* when the dataset button or dataset image thumbnail
* from the gallery component is clicked.
* @arg payload
*/
- this.$emit('dataset-clicked', payLoad);
+ this.$emit('datalink-clicked', payLoad);
})
},
}