mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-17 16:50:22 +00:00
@uppy/dashboard: do not allow drag&drop of file preview (#5650)
This commit is contained in:
parent
d2db3ad23d
commit
f03086b318
1 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ export default function FilePreview(props: $TSFixMe) {
|
|||
if (file.preview) {
|
||||
return (
|
||||
<img
|
||||
draggable={false}
|
||||
className="uppy-Dashboard-Item-previewImg"
|
||||
alt={file.name}
|
||||
src={file.preview}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue