New: Readarr 0.1

This commit is contained in:
ta264
2020-05-06 21:14:11 +01:00
parent 476f2d6047
commit 08496c82af
911 changed files with 14837 additions and 24442 deletions
@@ -16,14 +16,14 @@ function createCleanArtistSelector() {
artistName,
sortName,
images,
foreignArtistId,
titleSlug,
tags = []
} = artist;
return {
artistName,
sortName,
foreignArtistId,
titleSlug,
images,
tags: tags.reduce((acc, id) => {
const matchingTag = allTags.find((tag) => tag.id === id);
@@ -53,8 +53,8 @@ function createMapStateToProps() {
function createMapDispatchToProps(dispatch, props) {
return {
onGoToArtist(foreignArtistId) {
dispatch(push(`${window.Readarr.urlBase}/artist/${foreignArtistId}`));
onGoToArtist(titleSlug) {
dispatch(push(`${window.Readarr.urlBase}/author/${titleSlug}`));
},
onGoToAddNewArtist(query) {