Co-authored-by: David Baker <dbkr@users.noreply.github.com> Fixes https://github.com/element-hq/element-web/issues/30319
This commit is contained in:
@@ -620,6 +620,8 @@ function DownloadButton({
|
|||||||
// Err on the side of safety.
|
// Err on the side of safety.
|
||||||
setCanDownload(false);
|
setCanDownload(false);
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
setCanDownload(true);
|
||||||
}
|
}
|
||||||
}, [mxEvent]);
|
}, [mxEvent]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user