mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-31 12:10:19 -07:00
Fixed: Previous airing in ArtistOverview not working
This commit is contained in:
parent
fe865fc4c3
commit
6ec8e522de
6 changed files with 54 additions and 18 deletions
|
@ -31,7 +31,7 @@ class ArtistIndexOverviewOptionsModalContent extends Component {
|
|||
size: props.size,
|
||||
showMonitored: props.showMonitored,
|
||||
showQualityProfile: props.showQualityProfile,
|
||||
showPreviousAiring: props.showPreviousAiring,
|
||||
showLastAlbum: props.showLastAlbum,
|
||||
showAdded: props.showAdded,
|
||||
showAlbumCount: props.showAlbumCount,
|
||||
showPath: props.showPath,
|
||||
|
@ -45,7 +45,7 @@ class ArtistIndexOverviewOptionsModalContent extends Component {
|
|||
size,
|
||||
showMonitored,
|
||||
showQualityProfile,
|
||||
showPreviousAiring,
|
||||
showLastAlbum,
|
||||
showAdded,
|
||||
showAlbumCount,
|
||||
showPath,
|
||||
|
@ -70,8 +70,8 @@ class ArtistIndexOverviewOptionsModalContent extends Component {
|
|||
state.showQualityProfile = showQualityProfile;
|
||||
}
|
||||
|
||||
if (showPreviousAiring !== prevProps.showPreviousAiring) {
|
||||
state.showPreviousAiring = showPreviousAiring;
|
||||
if (showLastAlbum !== prevProps.showLastAlbum) {
|
||||
state.showLastAlbum = showLastAlbum;
|
||||
}
|
||||
|
||||
if (showAdded !== prevProps.showAdded) {
|
||||
|
@ -119,7 +119,7 @@ class ArtistIndexOverviewOptionsModalContent extends Component {
|
|||
size,
|
||||
showMonitored,
|
||||
showQualityProfile,
|
||||
showPreviousAiring,
|
||||
showLastAlbum,
|
||||
showAdded,
|
||||
showAlbumCount,
|
||||
showPath,
|
||||
|
@ -182,12 +182,12 @@ class ArtistIndexOverviewOptionsModalContent extends Component {
|
|||
</FormGroup>
|
||||
|
||||
<FormGroup>
|
||||
<FormLabel>Show Previous Airing</FormLabel>
|
||||
<FormLabel>Show Last Album</FormLabel>
|
||||
|
||||
<FormInputGroup
|
||||
type={inputTypes.CHECK}
|
||||
name="showPreviousAiring"
|
||||
value={showPreviousAiring}
|
||||
name="showLastAlbum"
|
||||
value={showLastAlbum}
|
||||
onChange={this.onChangeOverviewOption}
|
||||
/>
|
||||
</FormGroup>
|
||||
|
@ -254,7 +254,7 @@ ArtistIndexOverviewOptionsModalContent.propTypes = {
|
|||
size: PropTypes.string.isRequired,
|
||||
showMonitored: PropTypes.bool.isRequired,
|
||||
showQualityProfile: PropTypes.bool.isRequired,
|
||||
showPreviousAiring: PropTypes.bool.isRequired,
|
||||
showLastAlbum: PropTypes.bool.isRequired,
|
||||
showAdded: PropTypes.bool.isRequired,
|
||||
showAlbumCount: PropTypes.bool.isRequired,
|
||||
showPath: PropTypes.bool.isRequired,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue