Skip to content

Commit

Permalink
Fix a small issue with tagging on gallery click
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-wu committed May 16, 2024
1 parent fbf30d3 commit b298595
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/SplitFlow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,11 @@ export default {
if (type) categoryValues.push(type);
if (datasetId) categoryValues.push('(' + id + ')');
if (resource) {
filePath = typeof resource === 'string' ? resource : resource.share_link;
if (type === "Plot") {
filePath = resource.dataSource.url;
} else {
filePath = typeof resource === 'string' ? resource : resource.share_link;
}
}
// GA Tagging
Expand Down

0 comments on commit b298595

Please sign in to comment.