[UI Work] Artist Detail, Album Dialog, Album Search, Album Missing Search

This commit is contained in:
Qstick 2017-09-14 23:35:12 -04:00
parent 5fec72395c
commit 0a7f18e843
39 changed files with 559 additions and 709 deletions

View file

@ -110,7 +110,7 @@ class CutoffUnmetConnector extends Component {
onSearchSelectedPress = (selected) => {
this.props.executeCommand({
name: commandNames.EPISODE_SEARCH,
episodeIds: selected
albumIds: selected
});
}

View file

@ -18,7 +18,7 @@ function createMapStateToProps() {
createCommandsSelector(),
(missing, commands) => {
const isSearchingForAlbums = _.some(commands, { name: commandNames.EPISODE_SEARCH });
const isSearchingForMissingAlbums = _.some(commands, { name: commandNames.MISSING_EPISODE_SEARCH });
const isSearchingForMissingAlbums = _.some(commands, { name: commandNames.MISSING_ALBUM_SEARCH });
return {
isSearchingForAlbums,
@ -100,7 +100,7 @@ class MissingConnector extends Component {
onSearchSelectedPress = (selected) => {
this.props.executeCommand({
name: commandNames.EPISODE_SEARCH,
episodeIds: selected
albumIds: selected
});
}
@ -118,7 +118,7 @@ class MissingConnector extends Component {
onSearchAllMissingPress = () => {
this.props.executeCommand({
name: commandNames.MISSING_EPISODE_SEARCH
name: commandNames.MISSING_ALBUM_SEARCH
});
}