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

View File

@@ -620,6 +620,8 @@ function DownloadButton({
// Err on the side of safety.
setCanDownload(false);
});
} else {
setCanDownload(true);
}
}, [mxEvent]);