Fix downloading and sharing from a playlist. Fix #2123

This commit is contained in:
Deluan
2023-01-30 11:20:22 -05:00
parent 25374b3bbe
commit 762a1ba998
3 changed files with 11 additions and 11 deletions
+2 -3
View File
@@ -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,