triggers analytic before completed for downloads

This commit is contained in:
jessop 2019-11-04 14:33:27 -05:00 committed by Sean Yesmunt
parent ba4d6afde0
commit 1427ad2a76

View file

@ -30,7 +30,7 @@ function FileDownloadLink(props: Props) {
return <span>{label}</span>;
}
if (fileInfo && fileInfo.download_path && fileInfo.completed && clicked) {
if (fileInfo && fileInfo.download_path && clicked) {
triggerAnalyticsView(uri, 0);
setClicked(false);
}