Fix downloading and sharing from a playlist. Fix #2123
This commit is contained in:
@@ -84,9 +84,8 @@ const ContextMenu = ({
|
||||
enabled: config.enableSharing,
|
||||
needData: false,
|
||||
label: translate('ra.action.share'),
|
||||
action: (record) => {
|
||||
dispatch(openShareMenu([record.id], resource, record.name))
|
||||
},
|
||||
action: (record) =>
|
||||
dispatch(openShareMenu([record.id], resource, record.name)),
|
||||
},
|
||||
download: {
|
||||
enabled: config.enableDownloads && record.size,
|
||||
|
||||
Reference in New Issue
Block a user