mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Fixed: Error when deleting artist from poster list
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
parent
a006ce88f6
commit
9a240727ed
3 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ function createArtistLanguageProfileSelector() {
|
|||
return createSelector(
|
||||
(state) => state.settings.languageProfiles.items,
|
||||
createArtistSelector(),
|
||||
(languageProfiles, artist) => {
|
||||
(languageProfiles, artist = {}) => {
|
||||
return languageProfiles.find((profile) => {
|
||||
return profile.id === artist.languageProfileId;
|
||||
});
|
||||
|
|
|
@ -5,7 +5,7 @@ function createArtistMetadataProfileSelector() {
|
|||
return createSelector(
|
||||
(state) => state.settings.metadataProfiles.items,
|
||||
createArtistSelector(),
|
||||
(metadataProfiles, artist) => {
|
||||
(metadataProfiles, artist = {}) => {
|
||||
return metadataProfiles.find((profile) => {
|
||||
return profile.id === artist.metadataProfileId;
|
||||
});
|
||||
|
|
|
@ -5,7 +5,7 @@ function createArtistQualityProfileSelector() {
|
|||
return createSelector(
|
||||
(state) => state.settings.qualityProfiles.items,
|
||||
createArtistSelector(),
|
||||
(qualityProfiles, artist) => {
|
||||
(qualityProfiles, artist = {}) => {
|
||||
return qualityProfiles.find((profile) => {
|
||||
return profile.id === artist.qualityProfileId;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue