mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04:00
New: Readarr 0.1
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user