mirror of
https://github.com/navidrome/navidrome.git
synced 2026-08-01 07:21:17 +00:00
Fix TypeError: Cannot read property 'id' of undefined
This commit is contained in:
parent
971aed45a5
commit
302272a34a
@ -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…
x
Reference in New Issue
Block a user