Fix missing image download button (#30320) (#30322)

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:
ElementRobot
2025-07-15 16:39:46 +02:00
committed by GitHub
parent f3058c9597
commit 557293af31

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