New: Disable season search if series is unmonitored
This commit is contained in:
parent
7a3f4e8033
commit
53f5694535
|
@ -323,7 +323,7 @@ class SeriesDetailsSeason extends Component {
|
||||||
|
|
||||||
<MenuContent className={styles.actionsMenuContent}>
|
<MenuContent className={styles.actionsMenuContent}>
|
||||||
<MenuItem
|
<MenuItem
|
||||||
isDisabled={isSearching || !hasMonitoredEpisodes}
|
isDisabled={isSearching || !hasMonitoredEpisodes || !seriesMonitored}
|
||||||
onPress={onSearchPress}
|
onPress={onSearchPress}
|
||||||
>
|
>
|
||||||
<SpinnerIcon
|
<SpinnerIcon
|
||||||
|
@ -389,10 +389,10 @@ class SeriesDetailsSeason extends Component {
|
||||||
<SpinnerIconButton
|
<SpinnerIconButton
|
||||||
className={styles.actionButton}
|
className={styles.actionButton}
|
||||||
name={icons.SEARCH}
|
name={icons.SEARCH}
|
||||||
title={hasMonitoredEpisodes ? 'Search for monitored episodes in this season' : 'No monitored episodes in this season'}
|
title={hasMonitoredEpisodes && seriesMonitored ? 'Search for monitored episodes in this season' : 'No monitored episodes in this season'}
|
||||||
size={24}
|
size={24}
|
||||||
isSpinning={isSearching}
|
isSpinning={isSearching}
|
||||||
isDisabled={isSearching || !hasMonitoredEpisodes}
|
isDisabled={isSearching || !hasMonitoredEpisodes || !seriesMonitored}
|
||||||
onPress={onSearchPress}
|
onPress={onSearchPress}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue