Skip to content

Commit

Permalink
Merge pull request #225 from nih-sparc/update-gtm-download-events-to-…
Browse files Browse the repository at this point in the history
…capture-dataset-id-and-version

Updated GTM events
  • Loading branch information
egauzens authored Nov 8, 2024
2 parents b71627a + 7772978 commit 1cf66d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions components/BfDownloadFile/BfDownloadFile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@

<script>
import StorageMetrics from '@/mixins/bf-storage-metrics'
import { propOr } from 'ramda'
const DEFAULT_ARCHIVE_NAME = 'sparc-portal-data'
Expand Down Expand Up @@ -193,8 +194,8 @@ export default {
file_path: "",
file_type: "",
category: "",
dataset_id: "",
version_id: "",
dataset_id: this.dataset.id,
version_id: this.dataset.version,
doi: "",
citation_type: "",
location: ""
Expand Down
8 changes: 4 additions & 4 deletions components/FilesTable/FilesTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -730,8 +730,8 @@ export default {
file_type: pathOr('', ['row','fileType'], scope),
location: "",
category: "",
dataset_id: "",
version_id: "",
dataset_id: this.datasetInfo.id,
version_id: this.datasetVersion,
doi: "",
citation_type: "",
files: ""
Expand Down Expand Up @@ -767,8 +767,8 @@ export default {
file_type: "",
location: "",
category: "",
dataset_id: "",
version_id: "",
dataset_id: this.datasetInfo.id,
version_id: this.datasetVersion,
doi: "",
citation_type: ""
})
Expand Down

0 comments on commit 1cf66d3

Please sign in to comment.