mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-26 22:46:37 -04:00
More UI Cleanup
This commit is contained in:
@@ -14,11 +14,11 @@ function createMapStateToProps() {
|
||||
(state) => state.settings.languageProfiles,
|
||||
createClientSideCollectionSelector(),
|
||||
createCommandSelector(commandNames.RENAME_ARTIST),
|
||||
(languageProfiles, series, isOrganizingArtist) => {
|
||||
(languageProfiles, artist, isOrganizingArtist) => {
|
||||
return {
|
||||
isOrganizingArtist,
|
||||
showLanguageProfile: languageProfiles.items.length > 1,
|
||||
...series
|
||||
...artist
|
||||
};
|
||||
}
|
||||
);
|
||||
@@ -82,5 +82,5 @@ export default connectSection(
|
||||
mapDispatchToProps,
|
||||
undefined,
|
||||
undefined,
|
||||
{ section: 'series', uiSection: 'artistEditor' }
|
||||
{ section: 'artist', uiSection: 'artistEditor' }
|
||||
)(ArtistEditorConnector);
|
||||
|
||||
Reference in New Issue
Block a user