Skip to content

Commit

Permalink
Fix TypeError: Cannot read property 'id' of undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed Dec 3, 2021
1 parent 69615f1 commit bde9d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/album/AlbumTableView.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit bde9d5f

Please sign in to comment.