mirror of
https://github.com/vector-im/element-web.git
synced 2025-11-28 22:11:41 +01:00
Fix missing image download button (#30320)
Fixes https://github.com/element-hq/element-web/issues/30319
This commit is contained in:
parent
0fe275fbd2
commit
114ad1df0d
@ -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]);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user