From 8256314ba854b31cd872437115b652742bde7a26 Mon Sep 17 00:00:00 2001 From: Qstick Date: Mon, 1 Oct 2018 20:41:38 -0400 Subject: [PATCH] Fixed: Minor UI fixes Co-Authored-By: Mark McDowall --- .../DownloadClients/RemotePathMappings/RemotePathMapping.js | 2 +- frontend/src/Settings/MediaManagement/Naming/Naming.js | 2 +- frontend/src/TrackFile/Editor/TrackFileEditorModalContent.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/Settings/DownloadClients/RemotePathMappings/RemotePathMapping.js b/frontend/src/Settings/DownloadClients/RemotePathMappings/RemotePathMapping.js index c0c0a988f..3f25dbd0f 100644 --- a/frontend/src/Settings/DownloadClients/RemotePathMappings/RemotePathMapping.js +++ b/frontend/src/Settings/DownloadClients/RemotePathMappings/RemotePathMapping.js @@ -88,7 +88,7 @@ class RemotePathMapping extends Component { isOpen={this.state.isDeleteRemotePathMappingModalOpen} kind={kinds.DANGER} title="Delete Delay Profile" - message="Are you sure you want to delete this delay profile?" + message="Are you sure you want to delete this remote path mapping?" confirmLabel="Delete" onConfirm={this.onConfirmDeleteRemotePathMapping} onCancel={this.onDeleteRemotePathMappingModalClose} diff --git a/frontend/src/Settings/MediaManagement/Naming/Naming.js b/frontend/src/Settings/MediaManagement/Naming/Naming.js index e207f5361..ef22d320a 100644 --- a/frontend/src/Settings/MediaManagement/Naming/Naming.js +++ b/frontend/src/Settings/MediaManagement/Naming/Naming.js @@ -185,7 +185,7 @@ class Naming extends Component { buttons={?} onChange={onInputChange} {...settings.artistFolderFormat} - helpTexts={['Only used when adding a new artist', ...artistFolderFormatHelpTexts]} + helpTexts={['Used when adding a new artist or moving an artist via the artist editor', ...artistFolderFormatHelpTexts]} errors={[...artistFolderFormatErrors, ...settings.artistFolderFormat.errors]} /> diff --git a/frontend/src/TrackFile/Editor/TrackFileEditorModalContent.js b/frontend/src/TrackFile/Editor/TrackFileEditorModalContent.js index ac34d70fd..6c480374a 100644 --- a/frontend/src/TrackFile/Editor/TrackFileEditorModalContent.js +++ b/frontend/src/TrackFile/Editor/TrackFileEditorModalContent.js @@ -73,8 +73,8 @@ class TrackFileEditorModalContent extends Component { return selectedIds.reduce((acc, id) => { const matchingItem = this.props.items.find((item) => item.id === id); - if (matchingItem && !acc.includes(matchingItem.trackFileID)) { - acc.push(matchingItem.trackFileID); + if (matchingItem && !acc.includes(matchingItem.trackFileId)) { + acc.push(matchingItem.trackFileId); } return acc;