diff --git a/frontend/src/Calendar/CalendarPage.js b/frontend/src/Calendar/CalendarPage.js index a6ad471af..5203594e9 100644 --- a/frontend/src/Calendar/CalendarPage.js +++ b/frontend/src/Calendar/CalendarPage.js @@ -9,6 +9,7 @@ import PageContentBody from 'Components/Page/PageContentBody'; import PageToolbar from 'Components/Page/Toolbar/PageToolbar'; import PageToolbarButton from 'Components/Page/Toolbar/PageToolbarButton'; import PageToolbarSection from 'Components/Page/Toolbar/PageToolbarSection'; +import PageToolbarSeparator from 'Components/Page/Toolbar/PageToolbarSeparator'; import { align, icons } from 'Helpers/Props'; import getErrorMessage from 'Utilities/Object/getErrorMessage'; import CalendarConnector from './CalendarConnector'; @@ -81,8 +82,10 @@ class CalendarPage extends Component { artistIsFetching, artistIsPopulated, missingAlbumIds, + isRssSyncExecuting, isSearchingForMissing, useCurrentPage, + onRssSyncPress, onFilterSelect } = this.props; @@ -103,6 +106,15 @@ class CalendarPage extends Component { onPress={this.onGetCalendarLinkPress} /> + + + + { return { @@ -77,6 +82,7 @@ function createMapStateToProps() { artistIsFetching: artistCount.isFetching, artistIsPopulated: artistCount.isPopulated, missingAlbumIds, + isRssSyncExecuting, isSearchingForMissing }; } @@ -85,9 +91,16 @@ function createMapStateToProps() { function createMapDispatchToProps(dispatch, props) { return { + onRssSyncPress() { + dispatch(executeCommand({ + name: commandNames.RSS_SYNC + })); + }, + onSearchMissingPress(albumIds) { dispatch(searchMissing({ albumIds })); }, + onDaysCountChange(dayCount) { dispatch(setCalendarDaysCount({ dayCount })); },