1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-24 22:35:49 -04:00

Fixed: Misc Calendar Improvements

This commit is contained in:
Qstick
2020-03-01 17:13:45 -05:00
parent b2c1dbf3ab
commit 5a5e896eb4
13 changed files with 17 additions and 459 deletions
@@ -17,7 +17,6 @@ import ModalFooter from 'Components/Modal/ModalFooter';
function getUrls(state) {
const {
unmonitored,
premieresOnly,
asAllDay,
tags
} = state;
@@ -28,10 +27,6 @@ function getUrls(state) {
icalUrl += 'unmonitored=true&';
}
if (premieresOnly) {
icalUrl += 'premieresOnly=true&';
}
if (asAllDay) {
icalUrl += 'asAllDay=true&';
}
@@ -61,7 +56,6 @@ class CalendarLinkModalContent extends Component {
const defaultState = {
unmonitored: false,
premieresOnly: false,
asAllDay: false,
tags: []
};
@@ -105,7 +99,6 @@ class CalendarLinkModalContent extends Component {
const {
unmonitored,
premieresOnly,
asAllDay,
tags,
iCalHttpUrl,
@@ -132,18 +125,6 @@ class CalendarLinkModalContent extends Component {
/>
</FormGroup>
<FormGroup>
<FormLabel>Season Premieres Only</FormLabel>
<FormInputGroup
type={inputTypes.CHECK}
name="premieresOnly"
value={premieresOnly}
helpText="Only the first episode in a season will be in the feed"
onChange={this.onInputChange}
/>
</FormGroup>
<FormGroup>
<FormLabel>Show as All-Day Events</FormLabel>