mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-30 11:48:26 -07:00
Fixed: Minor UI fixes
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
parent
d3ee856403
commit
8256314ba8
3 changed files with 4 additions and 4 deletions
|
@ -88,7 +88,7 @@ class RemotePathMapping extends Component {
|
||||||
isOpen={this.state.isDeleteRemotePathMappingModalOpen}
|
isOpen={this.state.isDeleteRemotePathMappingModalOpen}
|
||||||
kind={kinds.DANGER}
|
kind={kinds.DANGER}
|
||||||
title="Delete Delay Profile"
|
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"
|
confirmLabel="Delete"
|
||||||
onConfirm={this.onConfirmDeleteRemotePathMapping}
|
onConfirm={this.onConfirmDeleteRemotePathMapping}
|
||||||
onCancel={this.onDeleteRemotePathMappingModalClose}
|
onCancel={this.onDeleteRemotePathMappingModalClose}
|
||||||
|
|
|
@ -185,7 +185,7 @@ class Naming extends Component {
|
||||||
buttons={<FormInputButton onPress={this.onArtistFolderNamingModalOpenClick}>?</FormInputButton>}
|
buttons={<FormInputButton onPress={this.onArtistFolderNamingModalOpenClick}>?</FormInputButton>}
|
||||||
onChange={onInputChange}
|
onChange={onInputChange}
|
||||||
{...settings.artistFolderFormat}
|
{...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]}
|
errors={[...artistFolderFormatErrors, ...settings.artistFolderFormat.errors]}
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
|
|
@ -73,8 +73,8 @@ class TrackFileEditorModalContent extends Component {
|
||||||
return selectedIds.reduce((acc, id) => {
|
return selectedIds.reduce((acc, id) => {
|
||||||
const matchingItem = this.props.items.find((item) => item.id === id);
|
const matchingItem = this.props.items.find((item) => item.id === id);
|
||||||
|
|
||||||
if (matchingItem && !acc.includes(matchingItem.trackFileID)) {
|
if (matchingItem && !acc.includes(matchingItem.trackFileId)) {
|
||||||
acc.push(matchingItem.trackFileID);
|
acc.push(matchingItem.trackFileId);
|
||||||
}
|
}
|
||||||
|
|
||||||
return acc;
|
return acc;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue