Rename DevEnableShare to EnableSharing

This commit is contained in:
Deluan
2023-01-29 20:33:10 -05:00
parent a651d65a5b
commit 68e6115789
14 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ const ContextMenu = ({
action: (data, ids) => dispatch(openAddToPlaylist({ selectedIds: ids })),
},
share: {
enabled: config.devEnableShare,
enabled: config.enableSharing,
needData: false,
label: translate('ra.action.share'),
action: (record) => {
+1 -1
View File
@@ -44,7 +44,7 @@ export const SongBulkActions = (props) => {
icon={<RiPlayListAddFill />}
className={classes.button}
/>
{config.devEnableShare && (
{config.enableSharing && (
<BatchShareButton {...props} className={classes.button} />
)}
<AddToPlaylistButton {...props} className={classes.button} />
+1 -1
View File
@@ -65,7 +65,7 @@ export const SongContextMenu = ({
),
},
share: {
enabled: config.devEnableShare,
enabled: config.enableSharing,
label: translate('ra.action.share'),
action: (record) => {
dispatch(openShareMenu([record.id], 'song', record.title))