Fix auto downloads (#7021)
This commit is contained in:
parent
95278f1da1
commit
f246992615
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ function FileActions(props: Props) {
|
|||
React.useEffect(() => {
|
||||
if (downloadClicked && streamingUrl) {
|
||||
webDownloadClaim(streamingUrl, fileName);
|
||||
setDownloadClicked(false);
|
||||
}
|
||||
}, [downloadClicked, streamingUrl, fileName]);
|
||||
// @endif
|
||||
|
|
Loading…
Reference in a new issue