mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-09-01 01:35:11 +00:00
triggers analytic before completed for downloads
This commit is contained in:
parent
ba4d6afde0
commit
1427ad2a76
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ function FileDownloadLink(props: Props) {
|
||||||
return <span>{label}</span>;
|
return <span>{label}</span>;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fileInfo && fileInfo.download_path && fileInfo.completed && clicked) {
|
if (fileInfo && fileInfo.download_path && clicked) {
|
||||||
triggerAnalyticsView(uri, 0);
|
triggerAnalyticsView(uri, 0);
|
||||||
setClicked(false);
|
setClicked(false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue