diff --git a/frontend/src/Calendar/CalendarPage.js b/frontend/src/Calendar/CalendarPage.js index 734bd88ff..c7b02140c 100644 --- a/frontend/src/Calendar/CalendarPage.js +++ b/frontend/src/Calendar/CalendarPage.js @@ -6,6 +6,7 @@ import Measure from 'Components/Measure'; import PageContentBodyConnector from 'Components/Page/PageContentBodyConnector'; import PageToolbar from 'Components/Page/Toolbar/PageToolbar'; import PageToolbarSection from 'Components/Page/Toolbar/PageToolbarSection'; +import PageToolbarSeparator from 'Components/Page/Toolbar/PageToolbarSeparator'; import PageToolbarButton from 'Components/Page/Toolbar/PageToolbarButton'; import FilterMenu from 'Components/Menu/FilterMenu'; import NoSeries from 'Series/NoSeries'; @@ -76,8 +77,10 @@ class CalendarPage extends Component { filters, hasSeries, missingEpisodeIds, + isRssSyncExecuting, isSearchingForMissing, useCurrentPage, + onRssSyncPress, onFilterSelect } = this.props; @@ -99,6 +102,15 @@ class CalendarPage extends Component { onPress={this.onGetCalendarLinkPress} /> + + + + { return { @@ -74,6 +79,7 @@ function createMapStateToProps() { colorImpairedMode: uiSettings.enableColorImpairedMode, hasSeries: !!seriesCount, missingEpisodeIds, + isRssSyncExecuting, isSearchingForMissing }; } @@ -82,6 +88,12 @@ function createMapStateToProps() { function createMapDispatchToProps(dispatch, props) { return { + onRssSyncPress() { + dispatch(executeCommand({ + name: commandNames.RSS_SYNC + })); + }, + onSearchMissingPress(episodeIds) { dispatch(searchMissing({ episodeIds })); },