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

fixed audio attaches

This commit is contained in:
Fedor Katurov 2020-08-26 18:30:01 +07:00
parent c9d84a4947
commit b11593c45e
7 changed files with 68 additions and 69 deletions

View file

@ -18,7 +18,10 @@ const SortableAudioGrid = SortableContainer(
locked: IUploadStatus[];
onDrop: (file_id: IFile['id']) => void;
onTitleChange: (file_id: IFile['id'], title: IFile['metadata']['title']) => void;
}) => (
}) => {
console.log(locked);
return (
<div className={styles.grid}>
{items
.filter(file => file && file.id)
@ -34,7 +37,8 @@ const SortableAudioGrid = SortableContainer(
</SortableAudioGridItem>
))}
</div>
)
);
}
);
export { SortableAudioGrid };