mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-30 19:50:15 -07:00
[UI Work] Artist Detail, Album Dialog, Album Search, Album Missing Search
This commit is contained in:
parent
5fec72395c
commit
0a7f18e843
39 changed files with 559 additions and 709 deletions
|
@ -110,7 +110,7 @@ class CutoffUnmetConnector extends Component {
|
|||
onSearchSelectedPress = (selected) => {
|
||||
this.props.executeCommand({
|
||||
name: commandNames.EPISODE_SEARCH,
|
||||
episodeIds: selected
|
||||
albumIds: selected
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue