Fix missing image download button (#30320)

Fixes https://github.com/element-hq/element-web/issues/30319
This commit is contained in:
David Baker 2025-07-15 15:14:14 +01:00 committed by GitHub
parent 0fe275fbd2
commit 114ad1df0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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]);