|
|
@ -33,7 +33,7 @@ function createPrimaryAlbumTypesSelector() {
|
|
|
|
|
|
|
|
|
|
|
|
function createSecondaryAlbumTypesSelector() {
|
|
|
|
function createSecondaryAlbumTypesSelector() {
|
|
|
|
return createSelector(
|
|
|
|
return createSelector(
|
|
|
|
createProviderSettingsSelector(),
|
|
|
|
createProviderSettingsSelector('metadataProfiles'),
|
|
|
|
(metadataProfile) => {
|
|
|
|
(metadataProfile) => {
|
|
|
|
const secondaryAlbumTypes = metadataProfile.item.secondaryAlbumTypes;
|
|
|
|
const secondaryAlbumTypes = metadataProfile.item.secondaryAlbumTypes;
|
|
|
|
if (!secondaryAlbumTypes || !secondaryAlbumTypes.value) {
|
|
|
|
if (!secondaryAlbumTypes || !secondaryAlbumTypes.value) {
|
|
|
@ -56,7 +56,7 @@ function createSecondaryAlbumTypesSelector() {
|
|
|
|
|
|
|
|
|
|
|
|
function createReleaseStatusesSelector() {
|
|
|
|
function createReleaseStatusesSelector() {
|
|
|
|
return createSelector(
|
|
|
|
return createSelector(
|
|
|
|
createProviderSettingsSelector(),
|
|
|
|
createProviderSettingsSelector('metadataProfiles'),
|
|
|
|
(metadataProfile) => {
|
|
|
|
(metadataProfile) => {
|
|
|
|
const releaseStatuses = metadataProfile.item.releaseStatuses;
|
|
|
|
const releaseStatuses = metadataProfile.item.releaseStatuses;
|
|
|
|
if (!releaseStatuses || !releaseStatuses.value) {
|
|
|
|
if (!releaseStatuses || !releaseStatuses.value) {
|
|
|
|