mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-14 13:27:09 +02:00
Fix TypeError: Cannot read property 'id' of undefined
This commit is contained in:
parent
69615f1aa1
commit
bde9d5f954
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ const AlbumDatagridRow = (props) => {
|
|||
const [, dragAlbumRef] = useDrag(
|
||||
() => ({
|
||||
type: DraggableTypes.ALBUM,
|
||||
item: { albumIds: [record.id] },
|
||||
item: { albumIds: [record?.id] },
|
||||
options: { dropEffect: 'copy' },
|
||||
}),
|
||||
[record]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue