1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

sorting audios on comment attach

This commit is contained in:
Fedor Katurov 2019-11-01 16:38:16 +07:00
parent 6e22481b4d
commit 5a46bef7ca
4 changed files with 53 additions and 14 deletions

View file

@ -22,7 +22,7 @@ const SortableAudioGrid = SortableContainer(
.filter(file => file && file.id)
.map((file, index) => (
<SortableImageGridItem key={file.id} index={index} collection={0}>
<AudioPlayer file={file} onDrop={onDrop} />
<AudioPlayer file={file} onDrop={onDrop} nonInteractive />
</SortableImageGridItem>
))}